pub fn to_hex(&self) -> String {
                        let r = (self.r * 255.0) as u8;
                        let g = (self.g * 255.0) as u8;
                        let b = (self.b * 255.0) as u8;

                        format!("{:x}{:x}{:x}", r, g, b)
                    }
/// Returns an unprefixed hex string representing the color
Returns an unprefixed hex string representing the color
Returns an unprefixed hex string representing the color
pub fn to_hex(&self) -> String {
                        let r = (self.r * 255.0) as u8;
                        let g = (self.g * 255.0) as u8;
                        let b = (self.b * 255.0) as u8;
                        format!("{:x}{:x}{:x}", r, g, b)
                    }
pub fn to_hex ( & self ) -> String { let r = ( self . r * 255.0 ) as u8 ; let g = ( self . g * 255.0 ) as u8 ; let b = ( self . b * 255.0 ) as u8 ; format ! ( " " r g b ) }
Returns an unprefixed hex string representing the color
Returns an unprefixed hex string representing the color
&self