- All Superinterfaces:
CSSColor
Represents a hsl color.
-
Method Summary
Methods inherited from interface io.sf.carte.doc.style.css.CSSColor
deltaEOK, getAlpha, getColorModel, getColorSpace, getLength, isInGamut, item, packInValue, toColorSpace, toMinifiedString, toNumberArray, toXYZ, toXYZ
-
Method Details
-
getHue
CSSPrimitiveValue getHue()Get the hue of this color.- Returns:
- the hue component.
-
getSaturation
CSSPrimitiveValue getSaturation()Get the saturation of this color.- Returns:
- the saturation component.
-
getLightness
CSSPrimitiveValue getLightness()Get the lightness of this color.- Returns:
- the lightness component.
-
clone
HSLColor clone()Description copied from interface:CSSColor
Clone this color.
-