react-color icon indicating copy to clipboard operation
react-color copied to clipboard

How to choose black and white from Hue?

Open watermellon2018 opened this issue 5 years ago • 1 comments

Or how i can set custom color in Hue component?

watermellon2018 avatar Mar 16 '21 04:03 watermellon2018

Hue is a property of color, that standalone won't define a web color. For the full color using hue, you need either HSL or HSB, either way black would be lightness/brightness set as 0 and white as 100, where H = 0 and S = 0.

Black: H = 0, S = 0, L/B = 0

White: H = 0, S = 0, L/B = 100

https://en.wikipedia.org/wiki/HSL_and_HSV

I do not think your question is related to the repository itself, but more about color theory. Anyway, hope the info helps you.

andreseiji avatar Mar 24 '21 16:03 andreseiji