primal/color

Collection of classes for converting and manipulating colors

1.0.2 2023-06-18 03:26 UTC

This package is not auto-updated.

Last update: 2024-11-14 04:01:47 UTC


README

Created and Copyright 2012 by Jocelyn Badgley, chiper at chipersoft dot com.

Primal.Color is a standalone micro-library to assist in the parsing, converting and manipulation of colors across various formats.

Currently Primal.Color supports converting between the following formats:

  • RGB (Hex3, Hex6 and css rgb())
  • HSV
  • HSL
  • CMYK

Primal.Color also includes a basic color wheel class for generating collections of colors across a spectrum.

Primal is a collection of independent micro-libraries that collectively form a LAMP development framework, but is not required to use Primal.Color in your own projects.

Requirements

  • PHP 5.3 or later

Usage

coming soon

Legal

Primal is released under an MIT license. No attribution is required and you are expected to make alterations. For details see the enclosed LICENSE file.