Module color

Module color 

Source
Expand description

Color space conversions and perceptual distance. Color space conversions and perceptual distance.

Structs§

Lab
Represents a color in the CIELAB color space.

Functions§

lab_distance_sq
Calculates the squared Euclidean distance between two Lab colors.
rgb_to_lab
Converts RGB to CIELAB using D65 illuminant.