Login   Register  
PHP Classes

Create Gradient: creates gradient from two colors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-12-07 (10 years ago) RSS 2.0 feedStarStarStar 44%Total: 2,118 All time: 1,723 This week: 1,438Up
Version License Categories  
gradient 1.0GNU General Public Lice...HTML, Graphics
Description Author  

This class is meant to create a gradient shade from two colors given their hexadecimal representation.

You can specify the colors and the number of steps of the gradient. The class computes the values of an array with the calculated gradient colors also represented with hexadecimal values.

The computed gradient colors may be used to define background colors of contiguous cells of HTML tables to demonstrate the gradient effect.

Picture of Michael Feinbier
Name: Michael Feinbier <contact>
Classes: 1 package by
Country: Germany Germany
Age: 29
All time rank: 128984 in Germany Germany
Week rank: 1712 Down92 in Germany Germany Down

  Files folder image Files  
File Role Description
Plain text file class.gradient.php Class the main class
Accessible without login Plain text file example.php Example example file for creating a gradient

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,118All time:1,723
 This week:0This week:1,438Up
 User Ratings  
 All time