A PHP class to generate different types of hex colors.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 0

Type:class

pkg:composer/canvasowl/hex

dev-master 2019-07-26 00:09 UTC

This package is not auto-updated.

Last update: 2025-10-07 09:12:08 UTC


README

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