PHP Classes
elePHPant
Icontem

DevColors: Converts color values between RGB and hexadecimal

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-08-04 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 162 All time: 8,099 This week: 916Up
Version License PHP version Categories
devcolors 1.0.0GNU General Publi...5.0PHP 5, Graphics
Description Author

This class can be used to convert color values between RGB and hexadecimal representation.

It can take an array with the values of a color as separate RGB component values and convert the color to the hexadecimal representation used in the Web pages.

It can also do the opposite, i.e. converting the hexadecimal color values to the RGB representation.

The class can also validate color values in either the RGB or hexadecimal formats and determine whether the values correspond to a valid color.

Picture of Developer
Name: Developer <contact>
Classes: 1 package by
Country: Egypt Egypt

  Files folder image Files  
File Role Description
Plain text file class_devcolors.php Class Class file
Accessible without login Plain text file example.php Example Example of using

 Version Control Unique User Downloads Download Rankings  
 0%
Total:162
This week:0
All time:8,099
This week:916Up