mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Some predefined colors
This commit is contained in:
@@ -32,3 +32,7 @@ pub const fn gray(l: u8, a: u8) -> Color {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub const WHITE: Color = srgba(255, 255, 255, 255);
|
pub const WHITE: Color = srgba(255, 255, 255, 255);
|
||||||
|
pub const BLACK: Color = srgba(0, 0, 0, 255);
|
||||||
|
pub const RED: Color = srgba(255, 0, 0, 255);
|
||||||
|
pub const GREEN: Color = srgba(0, 255, 0, 255);
|
||||||
|
pub const BLUE: Color = srgba(0, 0, 255, 255);
|
||||||
|
|||||||
Reference in New Issue
Block a user