Class HTMLColor

java.lang.Object
com.logicaldoc.util.html.HTMLColor

public class HTMLColor extends Object
  • Method Details

    • 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)