Type Alias palette::Hsva

source ·
pub type Hsva<S = Srgb, T = f32> = Alpha<Hsv<S, T>, T>;
Expand description

Linear HSV with an alpha component. See the Hsva implementation in Alpha.

Aliased Type§

struct Hsva<S = Srgb, T = f32> {
    pub color: Hsv<S, T>,
    pub alpha: T,
}

Fields§

§color: Hsv<S, T>

The color.

§alpha: T

The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.