Skip to content
/ hex Public

A PHP class to generated different types of hex colors

Notifications You must be signed in to change notification settings

canvasowl/hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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;

// Create Hex class instance $hex = new 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();

// Show pastel color echo $hex->pastel();

About

A PHP class to generated different types of hex colors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages