Function rmenu::color::rgba_bytes [] [src]

pub fn rgba_bytes(r: u8, g: u8, b: u8, a: f32) -> Color

Create RGB colors from numbers between 0 and 255 inclusive. The alpha component is specified with numbers between 0 and 1.