fn rgb_monochrome_8(&self, v: u8) -> Option<(u8, u8, u8)> {
        let bg = self.bg_default;
        let fg = self.fg_default;
        let r = ColorCtx::lerp(bg.0, fg.0, v);
        let g = ColorCtx::lerp(bg.1, fg.1, v);
        let b = ColorCtx::lerp(bg.2, fg.2, v);
        Some((r, g, b))
    }
/// Get RGB for a monochrome 8-bit color.
Get RGB for a monochrome 8-bit color.
Get RGB for a monochrome 8 - bit color .
fn rgb_monochrome_8(&self, v: u8) -> Option<(u8, u8, u8)> {
        let bg = self.bg_default;
        let fg = self.fg_default;
        let r = ColorCtx::lerp(bg.0, fg.0, v);
        let g = ColorCtx::lerp(bg.1, fg.1, v);
        let b = ColorCtx::lerp(bg.2, fg.2, v);
        Some((r, g, b))
    }
fn rgb_monochrome_8 ( & self , v : u8 ) -> Option < ( u8 , u8 , u8 ) > { let bg = self . bg_default ; let fg = self . fg_default ; let r = ColorCtx :: lerp ( bg . 0 , fg . 0 , v ) ; let g = ColorCtx :: lerp ( bg . 1 , fg . 1 , v ) ; let b = ColorCtx :: lerp ( bg . 2 , fg . 2 , v ) ; Some ( ( r , g , b ) ) }
Get RGB for a monochrome 8-bit color.
Get RGB for a monochrome 8 - bit color .
&self
v
u8