Login   Register  
PHP Classes
elePHPant
Icontem

Class: HTML Color Matrix

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of tobozo  >  HTML Color Matrix  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: HTML Color Matrix
Base name: colormatrixhtml
Description: Determine the closest browser safe color value
Related classes: , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 534 users
All time rank: 4352
Week users: 0 users
Week rank: 2348
Picture of tobozo
Author: tobozo <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Age: ???
All time rank: 148245 in France France
Week rank: 2255 Down59 in France France Down


  Detailed description  
You may have heard of the browser safe palette, Netscape palette, 216 palette, Web palette, or 6x6x6 color cube. All these terms refer to the same set of colors that usually are guaranteed to be available for displaying in Web pages in a browser screen using 256 colors without color remapping.

If you are concerned that your Web design work will be viewed in a 256 color (8-bit) screen, you may use the methods provided by this class to convert your color values to the closest color tones in the 216 color browser safe palette.

This class accepts hexadecimal color values or RGB values.

 

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (50.0%)
Sufficient (75.0%)
-
-
-
-
Insufficient (32.5%)
2141
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file colorMatrixHTML.class Class Class for converting color values to html browser-safe values
Plain text file example.php Example Example code
Plain text file showColorMatrix.php Example Code Sample to display 216 colors as html

Download all files: colormatrixhtml.tar.gz colormatrixhtml.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.