pub type RGBA = Rgba<u8>;Expand description
8-bit RGBA in sRGB. This is the only color format publicly used by the library.
Aliased Type§
#[repr(C)]pub struct RGBA {
pub r: u8,
pub g: u8,
pub b: u8,
pub a: u8,
}Fields§
§r: u8Red Component
g: u8Green Component
b: u8Blue Component
a: u8Alpha Component