pub(crate) fn to_crossterm(self) -> CrosstermColor {
        match self {
            Color::Basic(color) => color.to_crossterm(),
            Color::EightBit(color) => color.to_crossterm(),
            Color::Rgb(color) => color.to_crossterm(),
        }
    }
/// Translates this color to a crossterm color.
Translates this color to a crossterm color.
Translates this color to a crossterm color .
pub(crate) fn to_crossterm(self) -> CrosstermColor {
        match self {
            Color::Basic(color) => color.to_crossterm(),
            Color::EightBit(color) => color.to_crossterm(),
            Color::Rgb(color) => color.to_crossterm(),
        }
    }
pub ( crate ) fn to_crossterm ( self ) -> CrosstermColor { match self { Color :: Basic ( color ) => color . to_crossterm ( ) , Color :: EightBit ( color ) => color . to_crossterm ( ) , Color :: Rgb ( color ) => color . to_crossterm ( ) , } }
Translates this color to a crossterm color.
Translates this color to a crossterm color .
self
self