Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tei187/colortools
- Owner: tei187
- Created: 2023-03-22T18:07:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-24T09:29:08.000Z (7 months ago)
- Last Synced: 2024-04-24T20:56:59.898Z (7 months ago)
- Topics: chromatic-adaptation, color-conversions, color-distance, delta-e, rgb-primaries, standard-illuminants
- Language: PHP
- Homepage: https://github.com/tei187/ColorTools/wiki
- Size: 209 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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