PHP Classes

Create Gradient: creates gradient from two colors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (12 years ago) RSS 2.0 feedStarStarStar 44%Total: 2,123 All time: 1,772 This week: 1,150Up
Version License Categories  
gradient 1.0GNU General Publi...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: 31
All time rank: 134686 in Germany Germany
Week rank: 1542 Down80 in Germany Germany Up

  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,123All time:1,772
 This week:0This week:1,150Up
 User Ratings  
 All time