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,870 This week: 198Up
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
Age: 32
All time rank: 422048 in Egypt Egypt
Week rank: 578 Up11 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  
 0%
Total:164
This week:0
All time:8,870
This week:198Up