Trait embedded_graphics::pixelcolor::RgbColor
source · pub trait RgbColor: PixelColor {
const MAX_R: u8;
const MAX_G: u8;
const MAX_B: u8;
const BLACK: Self;
const RED: Self;
const GREEN: Self;
const BLUE: Self;
const YELLOW: Self;
const MAGENTA: Self;
const CYAN: Self;
const WHITE: Self;
// Required methods
fn r(&self) -> u8;
fn g(&self) -> u8;
fn b(&self) -> u8;
}
Expand description
RGB color.