Search by

jalaljaberi / negarity-color

JalalJaberi

Negarity Color — a modern, extensible color manipulation library for PHP.

Package info

github.com/JalalJaberi/negarity-color

pkg:composer/jalaljaberi/negarity-color

Statistics

Installs: 20

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0-beta1 2026-10-23 20:36 UTC

This package is not auto-updated.

Last update: 2026-11-20 21:02:35 UTC


README

Modern, extensible color manipulation library for PHP 8.3+.

composer require jalaljaberi/negarity-color

Version and releases

The project version is 1.0.0, recorded in VERSION. Use v1.0.0 as the Git tag when publishing this release on GitHub. Composer derives the package version from that tag.

The release workflow attaches negarity-color-v1.0.0.zip containing the runtime code, production autoloader, license, and version file. See release instructions before publishing.

Quick links

Resource Location
Agent / contributor guide AGENTS.md
User documentation (Docusaurus) docs/
Architecture (docs site) docs/docs/architecture.md
Examples examples/
Tests composer test

Capabilities (summary)

  • Color spaces: RGB(A), HSL(A), HSV, CMYK, Lab, LCh, XYZ, YCbCr, OkLab, Oklch, Luv
  • Registries for spaces, named colors, filters, extractors, generators
  • Extractors with multiple algorithms (temperature, brightness, contrast, …)
  • Harmonic generators (complementary, analogous, triadic, …)

See docs/README.md for a longer usage sketch.

License

MIT