java.lang.Object
io.github.cottonmc.cotton.gui.widget.data.Color.LCH
All Implemented Interfaces:
Color
Enclosing interface:
Color

public static class Color.LCH extends Object implements Color
  • Constructor Details

    • LCH

      public LCH(float luma, float chroma, float hue)
  • Method Details

    • toRgb

      public int toRgb()
      Description copied from interface: Color
      Gets an ARGB integer representing this color in the sRGB colorspace.
      Specified by:
      toRgb in interface Color
    • getHue

      public float getHue()
    • getChroma

      public float getChroma()
    • getLuma

      public float getLuma()