Class HTMLColor


  • public class HTMLColor
    extends Object
    • Constructor Detail

      • HTMLColor

        public HTMLColor()
    • Method Detail

      • decode

        public static Color decode​(String color)
        Decode HTML-attribute style of color to Color
        Parameters:
        color - - color name or #RRGGBB string
        Returns:
        - color for this value.
      • integerValue

        public static Integer integerValue​(String color)
      • encodeRGB

        public static String encodeRGB​(Color color)