Struct colorous::Color [−][src]
Expand description
Color has public fields r, g, b of type u8 which you can read
directly, or alternatively you may use the LowerHex and UpperHex impls to
format it as a hex color string.
format!("#{:x}", color)⟶#f0f0f0format!("#{:X}", color)⟶#F0F0F0
Fields
r: u8Red
g: u8Green
b: u8Blue
Implementations
Trait Implementations
#000000
Auto Trait Implementations
impl RefUnwindSafe for Color
impl UnwindSafe for Color
Blanket Implementations
Mutably borrows from an owned value. Read more