All Known Implementing Classes:
Color.HSL, Color.LCH, Color.RGB

public interface Color
  • Field Details

    • WHITE

      static final Color WHITE
    • BLACK

      static final Color BLACK
    • RED

      static final Color RED
    • GREEN

      static final Color GREEN
    • BLUE

      static final Color BLUE
    • WHITE_DYE

      static final Color WHITE_DYE
    • ORANGE_DYE

      static final Color ORANGE_DYE
    • MAGENTA_DYE

      static final Color MAGENTA_DYE
    • LIGHT_BLUE_DYE

      static final Color LIGHT_BLUE_DYE
    • YELLOW_DYE

      static final Color YELLOW_DYE
    • LIME_DYE

      static final Color LIME_DYE
    • PINK_DYE

      static final Color PINK_DYE
    • GRAY_DYE

      static final Color GRAY_DYE
    • LIGHT_GRAY_DYE

      static final Color LIGHT_GRAY_DYE
    • CYAN_DYE

      static final Color CYAN_DYE
    • PURPLE_DYE

      static final Color PURPLE_DYE
    • BLUE_DYE

      static final Color BLUE_DYE
    • BROWN_DYE

      static final Color BROWN_DYE
    • GREEN_DYE

      static final Color GREEN_DYE
    • RED_DYE

      static final Color RED_DYE
    • BLACK_DYE

      static final Color BLACK_DYE
    • DYE_COLORS

      static final Color[] DYE_COLORS
  • Method Details

    • toRgb

      int toRgb()
      Gets an ARGB integer representing this color in the sRGB colorspace.
    • rgb

      static Color rgb(int value)
    • rgb

      static Color rgb(int a, int r, int g, int b)
    • opaqueRgb

      static Color opaqueRgb(int value)