Struct glitter::types::Color [] [src]

pub struct Color {
    pub r: f32,
    pub g: f32,
    pub b: f32,
    pub a: f32,
}

A color, with floating-point RGBA components.

Fields

The color's red component.

The color's green component.

The color's blue component.

The color's alpha component.

Methods

impl Color
[src]

[src]

Create a new color, with the specified RGBA values.