/ src / color.rs
color.rs
 1  use crate::gfx::Rgba8;
 2  
 3  pub const WHITE: Rgba8 = Rgba8::new(0xff, 0xff, 0xff, 0xff);
 4  pub const BLACK: Rgba8 = Rgba8::new(0x00, 0x00, 0x00, 0xff);
 5  pub const TRANSPARENT: Rgba8 = Rgba8::new(0x00, 0x00, 0x00, 0x00);
 6  pub const GREY: Rgba8 = Rgba8::new(0x88, 0x88, 0x88, 0xff);
 7  pub const DARK_GREY: Rgba8 = Rgba8::new(0x55, 0x55, 0x55, 0xff);
 8  pub const LIGHT_GREY: Rgba8 = Rgba8::new(0xaa, 0xaa, 0xaa, 0xff);
 9  pub const RED: Rgba8 = Rgba8::new(0xff, 0x33, 0x66, 0xff);
10  pub const YELLOW: Rgba8 = Rgba8::new(0xff, 0xff, 0x66, 0xff);
11  pub const LIGHT_GREEN: Rgba8 = Rgba8::new(0xbb, 0xff, 0xee, 0xff);
12  pub const GREEN: Rgba8 = Rgba8::new(0x38, 0xb7, 0x55, 0xff);
13  pub const BLUE: Rgba8 = Rgba8::new(0x29, 0x36, 0x6f, 0xff);