Skip to content

Commit

Permalink
Add Cyan and Magenta (upstreamed: emilk#5663)
Browse files Browse the repository at this point in the history
  • Loading branch information
juancampa committed Jan 31, 2025
1 parent 4c8a40d commit 6bf54e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ecolor/src/color32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ 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);
Expand Down

0 comments on commit 6bf54e0

Please sign in to comment.