Class JagexColor


  • public final class JagexColor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JagexColor()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static short packHSL​(int hue, int saturation, int luminance)  
      static short rgbToHSL​(int rgb, double brightness)  
      • Methods inherited from class java.lang.Object

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

      • JagexColor

        public JagexColor()
    • Method Detail

      • packHSL

        public static short packHSL​(int hue,
                                    int saturation,
                                    int luminance)
      • rgbToHSL

        public static short rgbToHSL​(int rgb,
                                     double brightness)