class hex
A PHP class to generated different types of hex colors.
canvasowl/hex
A PHP class to generated different types of hex colors.
- Thursday, November 6, 2014
- by canvasowl
- Repository
- 1 Watchers
- 2 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Hex
Version 1.0
Description: A PHP class to generated different types of hex colors., (*1)
How Do I use this
Using Hex is easy, simply incude the class to your project and call any of the methods., (*2)
Examples:, (*3)
, (*4)
include 'hex.php';
use Canvasowl\Hex as Hex;
// Show a random color
echo Hex::make();
// Show a light color
echo Hex::light();
// Show a dark color
echo Hex::dark();
// Show a cool color
echo Hex::cool();
// Show a warm color
echo Hex::warm();