Color

interface Color

Common interface for all colors.

This makes no assumptions about the color itself, but implementations are expected to register conversion paths in the global dev.kdrag0n.colorkt.conversion.ConversionGraph when possible.

Inheritors

Zcam
Link copied to clipboard
Rgb
Link copied to clipboard
CieXyz
Link copied to clipboard
CieXyzAbs
Link copied to clipboard
Lab
Link copied to clipboard
Lch
Link copied to clipboard

Extensions

convert
Link copied to clipboard
inline fun <T : Color> Color.convert(): T

Convert this color to color space T.