Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain colors are producing Hue as null in their LCH space #5

Open
subhankar-trisetra opened this issue Dec 11, 2022 · 0 comments
Open

Comments

@subhankar-trisetra
Copy link

subhankar-trisetra commented Dec 11, 2022

List of such encountered colors:

#c5c5c5 #585858 #565656 #393939

 #c5c5c5        #585858       #565656        #393939

Interestingly enough all them seemed to have the same hue value i.e. 266.929 (procured from https://www.colorhexa.com/585858)

The way I used to convert hex to lch:

const result = ColorMath.evaluate('#565656');
const lch = result.result.lch(); // [36.56670310927203, 0.000008134492551266978, null]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant