Open themantra108 opened 2 years ago
getters require tone
According to the author at https://material.io/blog/science-of-color-design, HCT is when you glue the CIECAM16 C, h with CIELAB L*. A very big headache here is that ColorTypes has no way to express a viewing condition, but HCT code seems to feature it very prominently (https://github.com/material-foundation/material-color-utilities/blob/main/typescript/hct/hct.ts).
A pull request would be very welcome! Even a link to a spec sheet with formulas for conversion to & from other color spaces would contribute a bit, it seems difficult to find.