pub(crate) fn to_crossterm(self) -> CrosstermColor {
        match self {
            BasicColor::Black => CrosstermColor::Black,
            BasicColor::DarkRed => CrosstermColor::DarkRed,
            BasicColor::DarkGreen => CrosstermColor::DarkGreen,
            BasicColor::DarkYellow => CrosstermColor::DarkYellow,
            BasicColor::DarkBlue => CrosstermColor::DarkBlue,
            BasicColor::DarkMagenta => CrosstermColor::DarkMagenta,
            BasicColor::DarkCyan => CrosstermColor::DarkCyan,
            BasicColor::LightGray => CrosstermColor::DarkGrey,
            BasicColor::DarkGray => CrosstermColor::Grey,
            BasicColor::LightRed => CrosstermColor::Red,
            BasicColor::LightGreen => CrosstermColor::Green,
            BasicColor::LightYellow => CrosstermColor::Yellow,
            BasicColor::LightBlue => CrosstermColor::Blue,
            BasicColor::LightMagenta => CrosstermColor::Magenta,
            BasicColor::LightCyan => CrosstermColor::Cyan,
            BasicColor::White => CrosstermColor::White,
        }
    }
/// 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 {
            BasicColor::Black => CrosstermColor::Black,
            BasicColor::DarkRed => CrosstermColor::DarkRed,
            BasicColor::DarkGreen => CrosstermColor::DarkGreen,
            BasicColor::DarkYellow => CrosstermColor::DarkYellow,
            BasicColor::DarkBlue => CrosstermColor::DarkBlue,
            BasicColor::DarkMagenta => CrosstermColor::DarkMagenta,
            BasicColor::DarkCyan => CrosstermColor::DarkCyan,
            BasicColor::LightGray => CrosstermColor::DarkGrey,
            BasicColor::DarkGray => CrosstermColor::Grey,
            BasicColor::LightRed => CrosstermColor::Red,
            BasicColor::LightGreen => CrosstermColor::Green,
            BasicColor::LightYellow => CrosstermColor::Yellow,
            BasicColor::LightBlue => CrosstermColor::Blue,
            BasicColor::LightMagenta => CrosstermColor::Magenta,
            BasicColor::LightCyan => CrosstermColor::Cyan,
            BasicColor::White => CrosstermColor::White,
        }
    }
pub ( crate ) fn to_crossterm ( self ) -> CrosstermColor { match self { BasicColor :: Black => CrosstermColor :: Black , BasicColor :: DarkRed => CrosstermColor :: DarkRed , BasicColor :: DarkGreen => CrosstermColor :: DarkGreen , BasicColor :: DarkYellow => CrosstermColor :: DarkYellow , BasicColor :: DarkBlue => CrosstermColor :: DarkBlue , BasicColor :: DarkMagenta => CrosstermColor :: DarkMagenta , BasicColor :: DarkCyan => CrosstermColor :: DarkCyan , BasicColor :: LightGray => CrosstermColor :: DarkGrey , BasicColor :: DarkGray => CrosstermColor :: Grey , BasicColor :: LightRed => CrosstermColor :: Red , BasicColor :: LightGreen => CrosstermColor :: Green , BasicColor :: LightYellow => CrosstermColor :: Yellow , BasicColor :: LightBlue => CrosstermColor :: Blue , BasicColor :: LightMagenta => CrosstermColor :: Magenta , BasicColor :: LightCyan => CrosstermColor :: Cyan , BasicColor :: White => CrosstermColor :: White , } }
Translates this color to a crossterm color.
Translates this color to a crossterm color .
self
self