Expand description
Modules§
- Named primary, secondary and tertiary colors.
- Color filter effect.
- Gradient types.
- Named web colors.
Macros§
- Hexadecimal color literal.
- Creates a
GradientStops
containing the arguments.
Structs§
- HSL + alpha.
- HSV + alpha
- Represents a dark and light color.
- Pre-multiplied RGB + alpha.
- RGB + alpha.
- Color functions argument conversion helper.
Enums§
- Color scheme preference.
- Defines the color space for color interpolation.
- Color mix blend mode.
Statics§
- Defines the preferred color scheme in a context.
Traits§
- Extension methods for
impl Var<LightDark>
. - Color mix and adjustment methods.
Functions§
- HSL color, opaque, alpha is set to
1.0
. - HSLA color.
- Animation sampler that sets the
lerp_space
toLerpSpace::HslaLinear
. - Animation sampler that sets the
lerp_space
toLerpSpace::Hsla
. - HSV color, opaque, alpha is set to
1.0
. - HSVA color.
- Default implementation of lerp for
Rgba
in apps. - Gets the lerp space used for color interpolation.
- RGBA color pair.
- RGB color, opaque, alpha is set to
1.0
. - RGBA color.
- Animation sampler that sets the
lerp_space
toLerpSpace::Rgba
.
Type Aliases§
- Webrender
MixBlendMode
.