Package dev.kdrag0n.colorkt.cam

Types

Zcam
Link copied to clipboard
data class Zcam(brightness: Double, lightness: Double, colorfulness: Double, chroma: Double, hue: Double, saturation: Double, vividness: Double, blackness: Double, whiteness: Double, viewingConditions: Zcam.ViewingConditions) : Color, Lch

A color modeled by the ZCAM color appearance model, which provides a variety of perceptual color attributes. This color appearance model is designed with HDR in mind so it only accepts absolute CIE XYZ values scaled by the absolute luminance of the modeled display, unlike SDR color spaces that accept relative luminance.