Crate dcolor [] [src]

Structs

Lum

Luminance color type.

Luma

Luminance-alpha color type.

Rgb

Red-green-blue color type.

Rgba

Red-green-blue-alpha color type.

Traits

Clamp

Trait for types which can be clamped between a minimum and maximum acceptable value.

ClampFrom

Interpolate from another clamped type

ClampInto

Interpolate into another clamped type.

Color

Common color constants.

FromColor

Lossy conversion from another color type.

IntoColor

Lossy conversion into another color type.

Luminance

Gets the luminance of a non-luminance color type.

Functions

argb

Gets a color from an ARGB constant.

rgb

Gets a color from an RGB constant.