Skip to main content

rgb8

Function rgb8 

Source
pub fn rgb8(r: u8, g: u8, b: u8) -> Rgba
Expand description

Build an Rgba from 8-bit RGB components (used by the shared macro).