https://drafts.csswg.org/css-color-5/#example-dddffb4a
This example illustrates how the hue is preserved, even when the chroma is zero.
But this no longer works when following the latest spec.
As we now always have a powerless to missing step the hue becomes missing.
https://drafts.csswg.org/css-color-4/#color-conversion
The example follows these steps:
lch(62.753 62.571 326.973)
lch(from lch(62.753 62.571 326.973) l 0 h)
lch(from lch(from lch(62.753 62.571 326.973) l 0 h) l 30 h)
Or:
lch(62.753 62.571 326.973)
lch(62.753 0 none)
lch(62.753 30 none)
While the example has an outcome of lch(62.753 30 326.973) where the hue is preserved.
@svgeesus Is it correct that the example is outdated?
https://drafts.csswg.org/css-color-5/#example-dddffb4a
This example illustrates how the
hueis preserved, even when thechromais zero.But this no longer works when following the latest spec.
As we now always have a powerless to missing step the
huebecomes missing.https://drafts.csswg.org/css-color-4/#color-conversion
The example follows these steps:
lch(62.753 62.571 326.973)lch(from lch(62.753 62.571 326.973) l 0 h)lch(from lch(from lch(62.753 62.571 326.973) l 0 h) l 30 h)Or:
lch(62.753 62.571 326.973)lch(62.753 0 none)lch(62.753 30 none)While the example has an outcome of
lch(62.753 30 326.973)where thehueis preserved.@svgeesus Is it correct that the example is outdated?