Class Colors


  • public final class Colors
    extends Object
    The interface Colors provides useful constants to handle RGB colors format.

    RGB colors format is as follow:
    | color's red level (8-bit) | color's green level (8-bit) | color's blue level ( 8-bit) |
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BLACK
      Constant for black color.
      static int BLUE
      Constant for blue color.
      static int CYAN
      Constant for cyan color.
      static int GRAY
      Constant for gray color.
      static int GREEN
      Constant for green color.
      static int LIME
      Constant for lime color.
      static int MAGENTA
      Constant for magenta color.
      static int MAROON
      Constant for maroon color.
      static int NAVY
      Constant for navy color.
      static int OLIVE
      Constant for olive color.
      static int PURPLE
      Constant for purple color.
      static int RED
      Constant for red color.
      static int SILVER
      Constant for silver color.
      static int TEAL
      Constant for teal color.
      static int WHITE
      Constant for white color.
      static int YELLOW
      Constant for yellow color.
    • Constructor Summary

      Constructors 
      Constructor Description
      Colors()