2 ms·
What happens when the adjusted color goes out of gamut?
by mark-r 12y ago
What happens when the adjusted color goes out of gamut?
- jsvine 12y agoAnother thanks for flagging, mark-r. I've updated spectra to address this issue more explicitly. Per colormath[0], colors are allowed to go out of gamut. Colors now have `mycolor.rgb` and `mycolor.rgb_clamped` properties; `mycolor.hexcode` uses the clamped values. Are there other ways you'd like to see the out-of-gamut issue addressed? Open to suggestions. [0]: http://python-colormath.readthedocs.org/en/latest/conversions.html?highlight=clamp#rgb-conversions-and-out-of-gamut-coordinates http://python-colormath.readthedocs.org/en/latest/conversion...