All notable changes to this project will be documented in this file.
- HCT color space.
- OKLCH color space.
- ZCAM color appearance model.
- IGPGTG color space.
- HSL/HSV are now treated as full-fledged color spaces.
- Division-by-zero fix in LCH
- Various small fixes throughout
-
Color appearance models are now grouped under (
coloria.cam
) -
Color appearance models'
from_xyz100()
now return named tuples. You can access their values by, e.g.,import coloria ciecam02 = coloria.cam.CIECAM02("average", 20, 100) corr = ciecam02.from_xyz100([19.31, 23.93, 10.14]) corr.lightness # corr.lightness, corr.brightness, corr.chroma, ...
-
Color appearance models now initialize with a literal surround parameters, e.g.,
import coloria ciecam02 = coloria.cam.CIECAM02("average", 20, 100)
Possible values are
"average"
,"dim"
, and"dark"
.