Interface LCHColor

All Superinterfaces:
CSSColor

public interface LCHColor extends CSSColor
Represents a color in the LCh color model (lch() or oklch()).
  • 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

      Get the hue of this color.
      Returns:
      the hue component.
    • clone

      LCHColor clone()
      Description copied from interface: CSSColor
      Clone this color.
      Specified by:
      clone in interface CSSColor
      Returns:
      a clone of this color.