Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tei187/colortools

Handling of color based methods, such as conversion, chromatic adaptation, difference measurement.
https://github.com/tei187/colortools

chromatic-adaptation color-conversions color-distance delta-e rgb-primaries standard-illuminants

Last synced: 12 days ago
JSON representation

Handling of color based methods, such as conversion, chromatic adaptation, difference measurement.

Awesome Lists containing this project

README

        

# COLOR TOOLS

## Description
Set of classes used to convert colors and calculate color difference.

---

## Features

* ### Model conversion:
- xy,
- xyY,
- XYZ,
- L\*ab,
- L\*uv,
- L\*CH.
- L\*CH UV.
- HSV,
- HSL,
- RGB for primaries \*:
- Adobe 1998 RGB,
- Apple RGB,
- Best RGB,
- Beta RGB,
- Bruce RGB,
- CIE RGB,
- ColorMatch RGB,
- Don RGB 4,
- ECI RGB v2,
- Ekta Space PS5,
- NTSC RGB,
- PAL/SECAM RGB,
- ProPhoto RGB,
- Radiance RGB,
- SMPTE-C RGB,
- sRGB,
- WideGamutRGB.
---
\* custom-defined primaries also supported.

* ### Chromatic adaptation transformations matrices:
- XYZ Scaling,
- Von Kries,
- Bradford,
- CMCCAT2000,
- CIECAT02,
- Sharp.

* ### White point dictionary of standard illuminants:
*(2° and 10° standard observer)*
- A,
- B,
- C,
- D50, D55, D65, D75, D93,
- E,
- F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12,
- LED_B1, LED_B2, LED_B3, LED_B4, LED_B5, LED_BH1, LED_RGB1, LED_V1, LED_V2. \*
---
\* all LED-based illuminants have 2° standard observer only.

* ### DeltaE difference:
Check color distance in various algorithms:
- CIE76,
- CIE94,
- CIE00 (CIEDE2000),
- CMC l:c.

* ### Contrast ratio calculation.

## Requirements
PHP 8.1