color(xyz x y z) now refers to XYZ with a D65 white point. color(xyz-d50 x y z) now refers to the old XYZ, which we currently use, which has a white point of D50. Additionally, color(xyz-d65 x y z) has been added which is an alias for xyz.
The new coloraide will follow this convention, so we'll have to provide upgrade logic. I suspect that no one stores their colors in the palettes as XYZ, but to be safe, we need to upgrade them.
As a side note, the last version of coloraide now uses the form. Palettes generally store colors by their color(space values+) form. The HSL and HSV form now stores saturation and lightness (HSL) and saturation and value (HSV) in a range from 0 - 1 instead of 0 - 100. This keeps a higher precision for rounding and such. The old form stored things as percentages though, so we should be fine as the color form will still respect the percentages and convert them to the appropriate internal value, so we should be fine. More of a note than anything.
color(xyz x y z)
now refers to XYZ with a D65 white point.color(xyz-d50 x y z)
now refers to the old XYZ, which we currently use, which has a white point of D50. Additionally,color(xyz-d65 x y z)
has been added which is an alias forxyz
.The new coloraide will follow this convention, so we'll have to provide upgrade logic. I suspect that no one stores their colors in the palettes as XYZ, but to be safe, we need to upgrade them.
As a side note, the last version of coloraide now uses the form. Palettes generally store colors by their
color(space values+)
form. The HSL and HSV form now stores saturation and lightness (HSL) and saturation and value (HSV) in a range from 0 - 1 instead of 0 - 100. This keeps a higher precision for rounding and such. The old form stored things as percentages though, so we should be fine as the color form will still respect the percentages and convert them to the appropriate internal value, so we should be fine. More of a note than anything.