Module palette::rgb [−][src]
RGB types, spaces and standards.
Modules
channels | Channel orderings for packed RGBA types. |
Structs
Packed | RGBA color packed into a 32-bit unsigned integer. Defaults to ARGB
ordering for |
Rgb | Generic RGB. |
Enums
FromHexError | Error type for parsing a string of hexadecimal characters to an |
Traits
Primaries | Represents the red, green and blue primaries of an RGB space. |
RgbChannels | Splits and combines RGB(A) types with some channel ordering. Channels may be
ordered as |
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 |
Srgb | Nonlinear sRGB. |
Srgba | Nonlinear sRGB with an alpha component. |