apps icon indicating copy to clipboard operation
apps copied to clipboard

Serialized Values for Chroma in HCT conversion are incorrect

Open TriMontana opened this issue 9 months ago • 1 comments

The raw values for HCT are correct but the chroma value (second number out of three) is incorrect in the incorrect. See below: 1.5914055313263704 is incorrectly serialized to 1.09.   209.54530190727974, 1.5914055313263704, 40.317679695927204 | color(--hct 209.545 1.09752% 40.3177%)

--hct 209.545 1.09752% 40.3177%)

TriMontana avatar May 04 '25 15:05 TriMontana

1.5914055313263704 / 145 = 0.01097521056 which is 1.09752105609%

svgeesus avatar Jun 09 '25 16:06 svgeesus