Open Source Software Solutions

HTMLColors

NameHTMLColors
Version1.0.002
Date2005-03-30
AuthorNicola Asuni
CopyrightTecnick.com S.r.l.
Via Ugo Foscolo n.19
09045 Quartu Sant'Elena (CA)
ITALY
www.tecnick.com
LicenseGNU LESSER GENERAL PUBLIC LICENSE v.2.1

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

Get HTMLColors at SourceForge.net. Fast, secure and Free Open Source software downloadsSupport This Project

IT | EN
W3C XHTML 1.0 | W3C CSS 2.0