PHP Classes

Palette: Generate color gradient steps from a color list

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: 612 All time: 5,121 This week: 112Up
Version License Categories
palette 1.0Artistic LicenseGraphics


This class can be used to generate a range of color gradient steps from a list of colors.

The class takes a array of colors represented as hexadecimal RGB values. Then it generates another array with intermediate color steps between each pair of colors in the array.

The number of color steps between each color pair is configurable.

Picture of Vladimir Guzmán
Name: Vladimir Guzmán <contact>
Classes: 1 package by
Country: Colombia Colombia
Age: 48
All time rank: 301816 in Colombia Colombia
Week rank: 387 Up3 in Colombia Colombia Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example that creates a palette from Yellow to Blue, passing through Green in 15 steps
Plain text file palette.php Class Main object class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,121
This week:112Up