java.lang.Object
io.github.shimeoki.jfx.rasterization.HTMLColorf

public final class HTMLColorf extends Object
Non-instantiable class with some colors from the HTML specification as constants.

Data for the colors is from HTML Color Codes.

Since:
2.0.0
See Also:
  • Field Details

    • TRANSPARENT_WHITE

      public static final Colorf TRANSPARENT_WHITE
      Equivalent to rgb(255, 255, 255 / 0) or #FFFFFF00.
      Since:
      2.0.0
    • TRANSPARENT_BLACK

      public static final Colorf TRANSPARENT_BLACK
      Equivalent to rgb(0, 0, 0 / 0) or #00000000.
      Since:
      2.0.0
    • RED

      public static final Colorf RED
      Equivalent to rgb(255, 0, 0) or #FF0000.
      Since:
      2.0.0
    • ORANGE

      public static final Colorf ORANGE
      Equivalent to rgb(255, 165, 0) or #FFA500.
      Since:
      2.0.0
    • YELLOW

      public static final Colorf YELLOW
      Equivalent to rgb(255, 255, 0) or #FFFF00.
      Since:
      2.0.0
    • FUCHSIA

      public static final Colorf FUCHSIA
      Equivalent to rgb(255, 0, 255) or #FF00FF.
      Since:
      2.0.0
    • PURPLE

      public static final Colorf PURPLE
      Equivalent to rgb(128, 0, 128) or #800080.
      Since:
      2.0.0
    • LIME

      public static final Colorf LIME
      Equivalent to rgb(0, 255, 0) or #00FF00.
      Since:
      2.0.0
    • GREEN

      public static final Colorf GREEN
      Equivalent to rgb(0, 128, 0) or #008000.
      Since:
      2.0.0
    • AQUA

      public static final Colorf AQUA
      Equivalent to rgb(0, 255, 255) or #00FFFF.
      Since:
      2.0.0
    • CYAN

      public static final Colorf CYAN
      Equivalent to rgb(0, 255, 255) or #00FFFF.
      Since:
      2.0.0
    • BLUE

      public static final Colorf BLUE
      Equivalent to rgb(0, 0, 255) or #0000FF.
      Since:
      2.0.0
    • MAROON

      public static final Colorf MAROON
      Equivalent to rgb(128, 0, 0) or #800000.
      Since:
      2.0.0
    • WHITE

      public static final Colorf WHITE
      Equivalent to rgb(255, 255, 255) or #FFFFFF.
      Since:
      2.0.0
    • BLACK

      public static final Colorf BLACK
      Equivalent to rgb(0, 0, 0) or #000000.
      Since:
      2.0.0