Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 161 | All time: 8,954 This week: 55 |
Version | License | PHP version | Categories | |||
nickyx3_colortools 0.1 | GNU General Publi... | 5 | PHP 5, Graphics |
Description | Author | |||||||||||||||||||||||
This class can manipulate colors and generate color lists. Innovation Award |
|
This is Simple PHP Static Helper Class for RGB To HSL/HSL to RGB color manipulation and Color List Generator. Color lists may used for some task: generate unique colors with same lightness, generate paletes for ChartDirector and others
Class include few static function for color manipulations
<?php
$count = 8;
$color = '3d628e';
$colors = ColorTools::ColorArrayGenerator($count,$color,true);
print_r($colors);
?>
Array
(
[0] => #3d628e
[1] => #553d8e
[2] => #8e3d8b
[3] => #8e3d4e
[4] => #8e693d
[5] => #768e3d
[6] => #3d8e40
[7] => #3d8e7d
)
Use this colors for generate some color blocks <img src="https://raw.githubusercontent.com/NickyX3/ColorTools/master/result_preview.png">
Nic Latyshev <nickyx3@gmail.com>
This work is dual-licensed under the GPL v3 and the MIT license.
Files (3) |
File | Role | Description |
---|---|---|
ColorTools.class.php | Class | Class source |
README.md | Doc. | Documentation |
result_preview.png | Data | Auxiliary data |
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 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Comments (2) | ||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.