Struct RGBA
rainbow
pub struct RGBA { /* fields omitted */ }
"Red Green Blue Alpha".
impl RGBA
fn new(r: u8, g: u8, b: u8, a: u8) -> RGBA
impl Color for RGBA
fn to_f32(&self) -> (f32, f32, f32, f32)
Create a tuple (red, green, blue, alpha). Read more
(red, green, blue, alpha)
fn to_u8(&self) -> (u8, u8, u8, u8)