canvasowl/hex

A PHP class to generate different types of hex colors.


Keywords
color, hex
License
MIT

Documentation

Hex

Version 1.0

Description: A PHP class to generated different types of hex colors.

How Do I use this

Using Hex is easy, simply incude the class to your project and call any of the methods.

Examples:

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();