pub fn rgb(self) -> (u8, u8, u8) {
        match self {
            ColorClassic::Black => (0x00, 0x00, 0x00),
            ColorClassic::Red => (0xFF, 0x00, 0x00),
            ColorClassic::Yellow => (0xFF, 0xFF, 0x00),
            ColorClassic::Green => (0x00, 0xFF, 0x00),
            ColorClassic::Cyan => (0x00, 0xFF, 0xFF),
            ColorClassic::Blue => (0x00, 0x00, 0xFF),
            ColorClassic::Magenta => (0xFF, 0x00, 0xFF),
            ColorClassic::White => (0xFF, 0xFF, 0xFF),
            ColorClassic::Orange => (0xFF, 0xA5, 0x00),
            ColorClassic::Amber => (0xFF, 0xD0, 0x00),
        }
    }
/// Get RGB triplet for a classic color.
Get RGB triplet for a classic color.
Get RGB triplet for a classic color .
pub fn rgb(self) -> (u8, u8, u8) {
        match self {
            ColorClassic::Black => (0x00, 0x00, 0x00),
            ColorClassic::Red => (0xFF, 0x00, 0x00),
            ColorClassic::Yellow => (0xFF, 0xFF, 0x00),
            ColorClassic::Green => (0x00, 0xFF, 0x00),
            ColorClassic::Cyan => (0x00, 0xFF, 0xFF),
            ColorClassic::Blue => (0x00, 0x00, 0xFF),
            ColorClassic::Magenta => (0xFF, 0x00, 0xFF),
            ColorClassic::White => (0xFF, 0xFF, 0xFF),
            ColorClassic::Orange => (0xFF, 0xA5, 0x00),
            ColorClassic::Amber => (0xFF, 0xD0, 0x00),
        }
    }
pub fn rgb ( self ) -> ( u8 , u8 , u8 ) { match self { ColorClassic :: Black => ( 0x00 , 0x00 , 0x00 ) , ColorClassic :: Red => ( 0xFF , 0x00 , 0x00 ) , ColorClassic :: Yellow => ( 0xFF , 0xFF , 0x00 ) , ColorClassic :: Green => ( 0x00 , 0xFF , 0x00 ) , ColorClassic :: Cyan => ( 0x00 , 0xFF , 0xFF ) , ColorClassic :: Blue => ( 0x00 , 0x00 , 0xFF ) , ColorClassic :: Magenta => ( 0xFF , 0x00 , 0xFF ) , ColorClassic :: White => ( 0xFF , 0xFF , 0xFF ) , ColorClassic :: Orange => ( 0xFF , 0xA5 , 0x00 ) , ColorClassic :: Amber => ( 0xFF , 0xD0 , 0x00 ) , } }
Get RGB triplet for a classic color.
Get RGB triplet for a classic color .
self