[DISCUSSION]: How do I convert RGB to Oklab? #1346
Unanswered
test3211234
asked this question in
Q&A
Replies: 1 comment
-
Typically, if you want a perceptually linear gradient, you would construct it within Oklab, idea would be to have your input values as RGB, e.g., start and end RGB triplets, convert them to Oklab and linear interpolate the Oklab correlates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I have a list of RGB tuples. I want to make it Oklab and make a linear gradient with it, then turn it into an RGB Pillow Image. Regular code for RGB looks like this. Please critique also, it's supposed to be as fast as it can be.
Beta Was this translation helpful? Give feedback.
All reactions