Collection of classes for converting and manipulating colors

1.0.1 2017-07-10 16:28 UTC

This package is not auto-updated.

Last update: 2021-10-06 13:53:08 UTC


Created and Copyright 2012 by Jarvis 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.


  • PHP 5.3 or later


coming soon


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.