Replies: 4 comments 6 replies
-
HCT is just CAM16 with lightness from LAB (which should already be very comparable). I would almost rather see CAM16 implemented over HCT as it is not clearly explained the benefits or purpose of its creation over the existing scientific color appearance model. |
Beta Was this translation helpful? Give feedback.
-
Thanks for submitting the idea, @qinyiyao. I've kept some bookmarks for HCT but didn't have the chance to catch up with them. I agree with @NateBaldwinDesign — if anything, if CAM16 is implemented, support for HCT is a couple of functions away. I haven't done a close reading on CAM16 and its uniform color space (CAM16-UCS), but skimming the paper I was reluctant about tackling it, since culori's API doesn't really have a concept of color space parameters — CIELAB under the D50 illuminant ( |
Beta Was this translation helpful? Give feedback.
-
The picture seems very suspect. It's almost like HCT was interpolated in a hue-curve-following fashion, while the Oklab and CAM16 are interpolated in Euclidean space, ignoring the cylindrical transforms everyone knows about. That's apples to oranges, blatant cheating. // The pic does this
interpolate(['blue', 'red'], 'hct') // not implemented, this feature request
interpolate(['blue', 'red'], 'oklab')
interpolate(['blue', 'red'], 'cam16-ucs-jab') // not implemented
// instead of this
interpolate(['blue', 'red'], 'oklch')
interpolate(['blue', 'red'], 'cam16-ucs-jch') // not implemented Oh no, it comes straight from the original blog post! https://material.io/blog/science-of-color-design |
Beta Was this translation helpful? Give feedback.
-
Link to the related CAM16 discussion, which is a prerequisite for HCT support. It remains to be seen if explicit HCT support belongs to the library or is better suited as a (small) userland module. |
Beta Was this translation helpful? Give feedback.
-
https://material.io/blog/science-of-color-design
https://github.com/material-foundation/material-color-utilities
Beta Was this translation helpful? Give feedback.
All reactions