pub fn name(&self) -> Option<&'static str> {
        if self.alpha >= Rational::one() {
            let (r, g, b, _a) = self.to_bytes();
            let c = u32::from_be_bytes([0, r, g, b]);
            LOOKUP.v2n.get(&c).copied()
        } else {
            None
        }
    }
/// If this color is equal to a named color, get the name.
///
/// Each component is rounded to its byte value before lookup.
If this color is equal to a named color, get the name.
Each component is rounded to its byte value before lookup.
If this color is equal to a named color get the name . Each component is rounded to its byte value before lookup .
pub fn name(&self) -> Option<&'static str> {
        if self.alpha >= Rational::one() {
            let (r, g, b, _a) = self.to_bytes();
            let c = u32::from_be_bytes([0, r, g, b]);
            LOOKUP.v2n.get(&c).copied()
        } else {
            None
        }
    }
pub fn name ( & self ) -> Option < & ' static str > { if self . alpha >= Rational :: one ( ) { let ( r , g , b , _a ) = self . to_bytes ( ) ; let c = u32 :: from_be_bytes ( [ 0 , r , g , b ] ) ; LOOKUP . v2n . get ( & c ) . copied ( ) } else { None } }
If this color is equal to a named color, get the name.
If this color is equal to a named color get the name .
&self