Package io.sf.carte.doc.style.css
Interface LABColor
- All Superinterfaces:
CSSColor
Represents a color in the LAB color model (
lab() or oklab()).-
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.
-
getA
CSSPrimitiveValue getA()Get thea(green-red) axis in the LAB space for this color.- Returns:
- the
acomponent.
-
getB
CSSPrimitiveValue getB()Get theb(blue–yellow) axis in the LAB space for this color.- Returns:
- the
bcomponent.
-
clone
LABColor clone()Description copied from interface:CSSColorClone this color.
-