2017 © Pedro Peláez
 

class hex

A PHP class to generated different types of hex colors.

image

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

The README.md

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;

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

The Versions

06/11 2014

dev-master

9999999-dev https://github.com/canvasowl/hex

A PHP class to generated different types of hex colors.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

color hex