We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice to have support for OKHSV and OKHSL, I find OKLCH challenging to work for color picking.
I have written basic support for OKHSV and OKHSL color spaces within color.js, you can see it here:
https://github.com/mattdesl/workshop-generative-color/blob/f5a26247fac7e6dc617f05fd23886a3bba6b5d4b/lib/color.js#L10-L81
and using the color conversion tools here:
https://github.com/mattdesl/workshop-generative-color/blob/f5a26247fac7e6dc617f05fd23886a3bba6b5d4b/lib/oklab.js
These conversions are only slightly modified and stripped down from Björn's color picker code, see here:
https://github.com/bottosson/bottosson.github.io/blob/master/misc/colorpicker/colorconversion.js (MIT license, as far as I can see)
The text was updated successfully, but these errors were encountered:
Hi there, We’d happily merge a PR on this. Do you think you might be able to send one?
Sorry, something went wrong.
facelessuser
Successfully merging a pull request may close this issue.
It would be nice to have support for OKHSV and OKHSL, I find OKLCH challenging to work for color picking.
I have written basic support for OKHSV and OKHSL color spaces within color.js, you can see it here:
https://github.com/mattdesl/workshop-generative-color/blob/f5a26247fac7e6dc617f05fd23886a3bba6b5d4b/lib/color.js#L10-L81
and using the color conversion tools here:
https://github.com/mattdesl/workshop-generative-color/blob/f5a26247fac7e6dc617f05fd23886a3bba6b5d4b/lib/oklab.js
These conversions are only slightly modified and stripped down from Björn's color picker code, see here:
https://github.com/bottosson/bottosson.github.io/blob/master/misc/colorpicker/colorconversion.js (MIT license, as far as I can see)
The text was updated successfully, but these errors were encountered: