Module pix_engine::color::constants
source · Expand description
Provides a set a default named colors matching the SVG 1.0 Color Keywords
and are included in
the prelude
.
Examples
let c: Color = Color::ALICE_BLUE;
assert_eq!(c.as_hex(), 0xF0F8FF);
let c: Color = Color::PALE_TURQUOISE;
assert_eq!(c.as_hex(), 0xAFEEEE);