@Test public void testToColorHex() throws Exception { assertEquals("#100000", CSSUtils.toColorHex(new Color(16, 0, 0))); assertEquals("#110000", CSSUtils.toColorHex(new Color(17, 0, 0))); assertEquals("#ff0000", CSSUtils.toColorHex(new Color(255, 0, 0))); }
public static String toColorHex(Color aColor) { return "#" + toHex(aColor.r) + toHex(aColor.g) + toHex(aColor.b); }
CSSUtils { public static String toColorHex(Color aColor) { return "#" + toHex(aColor.r) + toHex(aColor.g) + toHex(aColor.b); } }
CSSUtils { public static String toColorHex(Color aColor) { return "#" + toHex(aColor.r) + toHex(aColor.g) + toHex(aColor.b); }  }
CSSUtils { public static String toColorHex(Color aColor) { return "#" + toHex(aColor.r) + toHex(aColor.g) + toHex(aColor.b); }  static String toFont(Font aFont); static String toFontFamily(Font aFont); static String toColor(Color aColor); static String toColorHex(Color aColor); static int toInt(Color aColor); static Color fromColorHex(String aValue); }
CSSUtils { public static String toColorHex(Color aColor) { return "#" + toHex(aColor.r) + toHex(aColor.g) + toHex(aColor.b); }  static String toFont(Font aFont); static String toFontFamily(Font aFont); static String toColor(Color aColor); static String toColorHex(Color aColor); static int toInt(Color aColor); static Color fromColorHex(String aValue);  }