Class CIELCHColor

  • All Implemented Interfaces:
    Value

    public class CIELCHColor
    extends AbstractCIEColor
    This class represents an CIE LCH color value.
    Version:
    $Id: CIELCHColor.java 1617286 2014-08-11 14:03:51Z lbernardo $
    • Field Detail

      • CIE_LCH_COLOR_FUNCTION

        public static final java.lang.String CIE_LCH_COLOR_FUNCTION
        See Also:
        Constant Field Values
    • Constructor Detail

      • CIELCHColor

        public CIELCHColor​(float l,
                           float c,
                           float h,
                           float[] whitepoint)
        Creates a new CIELCHColor.
        Parameters:
        l - the lightness (L) value
        c - the chroma (C) value
        h - the hue (H) value
        whitepoint - the white point in CIE XYZ coordinates
      • CIELCHColor

        public CIELCHColor​(float l,
                           float c,
                           float h)
        Creates a new CIELCHColor with D65 as illuminant.
        Parameters:
        l - the lightness (L) value
        c - the chroma (C) value
        h - the hue (H) value