[−][src]Module image2::colorspace
Modules
blend | Color blending and blending equations. |
chromatic_adaptation | Convert colors from one reference white point to another |
encoding | Various encoding traits, types and standards. |
gradient | Types for interpolation between multiple colors. |
luma | Luminance types. |
named | A collection of named color constants. Can be toggled with the |
rgb | RGB types, spaces and standards. |
white_point | Defines the tristimulus values of the CIE Illuminants. |
Structs
Alpha | An alpha component wrapper for colors. |
Hsl | Linear HSL color space. |
Hsv | Linear HSV color space. |
Hwb | Linear HWB color space. |
Lab | The CIE L*a*b* (CIELAB) color space. |
LabHue | A hue type for the CIE L*a*b* family of color spaces. |
Lch | CIE L*C*h°, a polar version of CIE L*a*b*. |
RgbHue | A hue type for the RGB family of color spaces. |
Xyz | The CIE 1931 XYZ color space. |
Yxy | The CIE 1931 Yxy (xyY) color space. |
Enums
Color | A generic color type. |
Traits
Component | Common trait for color components. |
ComponentWise | Perform a unary or binary operation on each component of a color. |
FromColor | FromColor provides conversion from the colors. |
GetHue | A trait for colors where a hue may be calculated. |
Hue | A trait for colors where the hue can be manipulated without conversion. |
IntoColor | IntoColor provides conversion to the colors. |
Limited | A trait for clamping and checking if colors are within their ranges. |
Mix | A trait for linear color interpolation. |
Saturate | A trait for colors where the saturation (or chroma) can be manipulated without conversion. |
Shade | The |
Type Definitions
Colora | Generic color with an alpha component. See the |
Hsla | Linear HSL with an alpha component. See the |
Hsva | Linear HSV with an alpha component. See the |
Hwba | Linear HWB with an alpha component. See the |
Laba | CIE L*a*b* (CIELAB) with an alpha component. See the |
Lcha | CIE L*C*h° with an alpha component. See the |
Mat3 | A 9 element array representing a 3x3 matrix |
Xyza | CIE 1931 XYZ with an alpha component. See the |
Yxya | CIE 1931 Yxy (xyY) with an alpha component. See the |