Module picto::color [−][src]
Expand description
Color types.
Modules
Color blending and blending equations.
Types for interpolation between multiple colors.
A collection of named color constants. Can be toggled with the "named"
Cargo feature.
Pixel encodings and pixel format conversion.
Structs
An alpha component wrapper for colors.
A gamma encoded color.
A linear interpolation between colors.
Linear HSL color space.
Linear HSV color space.
Linear HWB color space.
The CIE Lab* (CIELAB) color space.
A hue type for the CIE Lab* family of color spaces.
Linear luminance.
Linear RGB.
A hue type for the RGB family of color spaces.
An sRGB encoded color.
The CIE 1931 XYZ color space.
The CIE 1931 Yxy (xyY) color space.
Enums
A generic color type.
Traits
A trait for colors that can be blended together.
Perform a unary or binary operation on each component of a color.
FromColor provides conversion between the colors.
A trait for colors where a hue may be calculated.
A trait for colors where the hue can be manipulated without conversion.
IntoColor provides conversion between the colors.
A trait for clamping and checking if colors are within their ranges.
A trait for linear color interpolation.
A conversion trait for RGB pixel formats.
A trait for colors where the saturation (or chroma) can be manipulated without conversion.
The Shade
trait allows a color to be lightened or darkened.
Type Definitions
Generic color with an alpha component. See the Colora
implementation in Alpha
.
Linear HSL with an alpha component. See the Hsla
implementation in Alpha
.
Linear HSV with an alpha component. See the Hsva
implementation in Alpha
.
Linear HWB with an alpha component. See the Hwba
implementation in Alpha
.
CIE Lab* (CIELAB) with an alpha component. See the Laba
implementation in Alpha
.
CIE LCh° with an alpha component. See the Lcha
implementation in Alpha
.
Linear luminance with an alpha component. See the Lumaa
implementation in Alpha
.
Linear RGB with an alpha component. See the Rgba
implementation in Alpha
.
CIE 1931 XYZ with an alpha component. See the Xyza
implementation in Alpha
.
CIE 1931 Yxy (xyY) with an alpha component. See the Yxya
implementation in Alpha
.