Package io.sf.carte.doc.style.css
Interface LCHColor
- All Superinterfaces:
CSSColor
Represents a color in the LCh color model (
lch()
or oklch()
).-
Method Summary
Methods inherited from interface io.sf.carte.doc.style.css.CSSColor
getAlpha, getColorModel, getColorSpace, getLength, item, toMinifiedString
-
Method Details
-
getLightness
CSSPrimitiveValue getLightness()Get the lightness of this color.- Returns:
- the lightness component.
-
getChroma
CSSPrimitiveValue getChroma()Get the chroma of this color.- Returns:
- the chroma component.
-
getHue
CSSPrimitiveValue getHue()Get the hue of this color.- Returns:
- the hue component.
-
clone
LCHColor clone()Description copied from interface:CSSColor
Clone this color.
-