Crate aurum_color [] [src]

Structs

Lum

Luminance color structure.

LumAlpha

Luminance-alpha color structure.

Rgb

Red-green-blue color structure.

Rgba

Red-green-blue-alpha color structure.

Traits

Black

Trait for color types which can represent black.

FromColor

Trait for lossy conversion between color spaces.

IntoColor

Blanket impl over FromColor.

Invert

Inverts a color.

Transparent

Trait for color types which can be fully transparent.

WebColor

Trait for some predefined colors.

White

Trait for color types which can represent white.

Functions

argb

Constructs a color from a 32-bit ARGB value (0xAARRGGBB).

invert

Inverts a color.

rgb

Constructs a color from a 24-bit RGB value (0x00RRGGBB).