module CrImage::Color

Overview

Module Color implements a basic color library Color is an interface that defines the minimal method set of any type that can be considered a color: one that can be converted to red, green, blue and alpha values. The conversion may be lossy, such as converting from CMYK or YCbCr color spaces.

Defined in:

lib/crimage/src/crimage/color/color.cr
lib/crimage/src/crimage/color/hsl.cr
lib/crimage/src/crimage/color/hsv.cr
lib/crimage/src/crimage/color/lab.cr
lib/crimage/src/crimage/color/ycbcr.cr
uing/crimage.cr