added transparent color to preset
@@ -31,6 +31,7 @@ impl Color {
pub const RED: Self = Self { r: 255, g: 0, b: 0, a: 255 };
pub const GREEN: Self = Self { r: 0, g: 255, b: 0, a: 255 };
pub const BLUE: Self = Self { r: 0, g: 0, b: 255, a: 255 };
+ pub const TRANSPARENT: Self = Self { r: 0, g: 0, b: 0, a: 0 };
pub fn opaque(r: u8, g: u8, b: u8) -> Color {
Color { r, g, b, a: 255 }
