PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 164 All time: 8,891 This week: 198Up
Version License PHP version Categories
devcolors 1.0.0GNU General Publi...5.0PHP 5, Graphics


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
Age: 32
All time rank: 423648 in Egypt Egypt
Week rank: 658 Up9 in Egypt Egypt Up

  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  
This week:0
All time:8,891
This week:198Up