primal/color

Collection of classes for converting and manipulating colors

Maintainers

👁 ChiperSoft

Package info

github.com/PrimalPHP/Color

Homepage

pkg:composer/primal/color

Statistics

Installs: 531 349

Dependents: 5

Suggesters: 0

Stars: 24

Open Issues: 0

1.0.2 2023-06-18 03:26 UTC

Requires

  • php: >=5.3.3

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT f1b30498cc6c9fdeb63aefe01ea3b92e7a0a4661

color

This package is not auto-updated.

Last update: 2026-06-11 11:35:41 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.