HTMLColors
Source Code and Documentation
Description
HTMLColors is an Open Source Java class that contains a collection of static methods to manipulate and convert java.awt.Color objects into HTML hexadecimal color representation (#RRGGBB) and vice versa.
The HTMLColors class is useful at least in three common development situations:
- creation of Web-based documents (HTML, XHTML, CSS, ...);
- parsing and processing Web-based documents (HTML, XHTML, CSS, ...);
- store and retrieve colors information on text-based configuration files (TXT, XML, HTML, ...); this last case means that this class can be virtually used in any Java-based application that uses colors.
This project is shipped as
Eclipse project, with classes compiled into the "classes" directory.
However a packaged version of this class is available as a JAR archive inside the www directory.
To install the JAR file, just copy it on your project classpath.
Documentation and examples are included on the distribution.
Download HTMLColors from SourceForge
