PHP Classes

Palette: Generate color gradient steps from a color list

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 40%Total: 613 All time: 5,127 This week: 524Up
Version License Categories
palette 1.0Artistic LicenseGraphics
Description 

Author

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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:613
This week:0
All time:5,127
This week:524Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:3851