Skip to content

Commit

Permalink
Add Color32::CYAN and Color32::MAGENTA
Browse files Browse the repository at this point in the history
  • Loading branch information
juancampa committed Jan 31, 2025
1 parent 93d2144 commit cf8ffa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ecolor/src/color32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ impl Color32 {
pub const RED: Self = Self::from_rgb(255, 0, 0);
pub const LIGHT_RED: Self = Self::from_rgb(255, 128, 128);

pub const CYAN: Self = Self::from_rgb(0, 255, 255);
pub const MAGENTA: Self = Self::from_rgb(255, 0, 255);
pub const YELLOW: Self = Self::from_rgb(255, 255, 0);

pub const ORANGE: Self = Self::from_rgb(255, 165, 0);
pub const LIGHT_YELLOW: Self = Self::from_rgb(255, 255, 0xE0);
pub const KHAKI: Self = Self::from_rgb(240, 230, 140);
Expand Down

0 comments on commit cf8ffa1

Please sign in to comment.