Builds a color from its lightness, chroma and hue components.
lightness ranges from 0.0 to 1.0 (inclusive),chroma ranges from 0.0 to approximatively 0.37 (inclusive),hue ranges from 0.0 to 1.0 (inclusive),alpha ranges from 0.0 to 1.0.Builds a color from its lightness, chroma, hue and alpha components.
lightness ranges from 0.0 to 1.0 (inclusive),chroma ranges from 0.0 to approximatively 0.37 (inclusive),hue ranges from 0.0 to 1.0 (inclusive),alpha ranges from 0.0 to 1.0.Convert from Oklab to Oklch.
Convert from Oklch to Oklab.
Converts a color to a string suitable for use in CSS.
Html.Attributes.style "background-color" (Color.Oklch.toCssString (Color.Oklch.oklch 0.5 0.2 0.5))Note: the current implementation produces a string in the form oklch(l% c h),
but this may change in the future, and you should not rely on this implementation detail.
A color in the Oklch space.
lightnessranges from 0.0 to 1.0 (inclusive),chromaranges from 0.0 to approximatively 0.37 (inclusive),hueranges from 0.0 to 1.0 (inclusive),alpharanges from 0.0 to 1.0 (inclusive).