Class Color

java.lang.Object
net.mst.utilities.colors.Color
Direct Known Subclasses:
Hex, HSL, RGB

public class Color extends Object
  • Field Details

    • r

      protected int r
    • g

      protected int g
    • b

      protected int b
  • Constructor Details

    • Color

      public Color(int Red, int Green, int Blue)
  • Method Details

    • of

      public static Color of(int Red, int Green, int Blue)
    • getR

      public int getR()
    • getG

      public int getG()
    • getB

      public int getB()
    • toHex

      public Hex toHex()
    • toArray

      public String toArray()