How are fallback colors calculated for out-of-gamut tints and shades, and where can I find this functionality in the code? #164
-
Hi there. I'm trying to write a script for Adobe Illustrator, and I want to use the OKLCH color space. I've run into some out-of-gamut problems when trying to generate some specific hues, and I wanted to ask for your help in pinpointing the part of the source code that handles these fallbacks just like in the web tool. Thank you very much! |
Beta Was this translation helpful? Give feedback.
Answered by
ai
Nov 13, 2024
Replies: 1 comment
-
We use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
eduard-buta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use
toGamut('rgb', 'oklch')
from Culori