Class HSL


  • public class HSL
    extends java.lang.Object
    A HSL color value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double a  
      double h  
      double l  
      double s  
    • Constructor Summary

      Constructors 
      Constructor Description
      HSL​(double h, double s, double l, double a)
      Create a new color value.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • h

        public double h
      • s

        public double s
      • l

        public double l
      • a

        public double a
    • Constructor Detail

      • HSL

        public HSL​(double h,
                   double s,
                   double l,
                   double a)
        Create a new color value.
        Parameters:
        h - hue value
        s - saturation
        l - lightness
        a - alpha