Interface HSLColor

All Superinterfaces:
CSSColor

public interface HSLColor extends CSSColor
Represents a hsl color.
  • Method Details

    • 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.
      Specified by:
      clone in interface CSSColor
      Returns:
      a clone of this color.