Tint v0.3.0 API Reference

Modules

A library allowing calculations with colors and conversions between different colorspaces.

A color in the CMYK (cyan, magenta, yellow, key) colorspace.

A protocol that can be implemented by color structs to support CMYK colorspace conversion.

A color in the HSV (hue, saturation, value) colorspace.

A protocol that can be implemented by color structs to support HSV colorspace conversion.

A color in the RGB (red, green, blue) colorspace.

A protocol that can be implemented by color structs to support RGB colorspace conversion.

A module providing a sigil to build colors.

Exceptions

An exception that is returned or raised when a color is built with values that are out of the permitted range of values.