is-light-text
Pick a background color โ see if you should use black or white text
Hex
R
G
B
Sample Text
isLightText([
44, 62, 80
])
Returns
true
โ use
white
text