[][src]Module palette::rgb

RGB types, spaces and standards.

Structs

Rgb

Generic RGB.

Traits

Primaries

Represents the red, green and blue primaries of an RGB space.

RgbSpace

A set of primaries and a white point.

RgbStandard

An RGB space and a transfer function.

Type Definitions

GammaSrgb

Gamma 2.2 encoded sRGB.

GammaSrgba

Gamma 2.2 encoded sRGB with an alpha component.

LinSrgb

Linear sRGB.

LinSrgba

Linear sRGB with an alpha component.

Rgba

Generic RGB with an alpha component. See the Rgba implementation in Alpha.

Srgb

Nonlinear sRGB.

Srgba

Nonlinear sRGB with an alpha component.