Class HTMLColorConverter
java.lang.Object
com.nomagic.magicreport.format.html.HTMLColorConverter
The class for change HTML color code to Six Digit Hex code.
- Since:
- Feb 4, 2013
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringchangeColorFormat(String color) Change color(3-digits RGB, 6-digits RGB ,color name and RGB value) to 6-digits RGB.
-
Method Details
-
changeColorFormat
Change color(3-digits RGB, 6-digits RGB ,color name and RGB value) to 6-digits RGB.- Parameters:
color- color format- Returns:
- 6-digits RGB format with '#' symbol and return empty String when invalid color format.
-