Module picto::color
[−]
[src]
Modules
blend |
Color blending and blending equations. |
gradient |
Types for interpolation between multiple colors. |
named |
A collection of named color constants. Can be toggled with the |
pixel |
Pixel encodings and pixel format conversion. |
Structs
Alpha |
An alpha component wrapper for colors. |
Gradient |
A linear interpolation between 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*. |
Luma |
Linear luminance. |
Rgb |
Linear RGB. |
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
Blend |
A trait for colors that can be blended together. |
ComponentWise |
Perform a unary or binary operation on each component of a color. |
FromColor |
FromColor provides conversion between 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 between 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 | |
Hsla | |
Hsva | |
Hwba | |
Laba | |
Lcha | |
Lumaa | |
Rgba | |
Xyza | |
Yxya |