pub fn new<F, B>(foreground: F, background: B) -> Self
    where
        F: Into<Color>,
        B: Into<Color>,
    {
        Self { foreground: foreground.into(), background: background.into() }
    }
/// Just a convenience method for creating color pairs with conversion.
Just a convenience method for creating color pairs with conversion.
Just a convenience method for creating color pairs with conversion .
pub fn new<F, B>(foreground: F, background: B) -> Self
    where
        F: Into<Color>,
        B: Into<Color>,
    {
        Self { foreground: foreground.into(), background: background.into() }
    }
pub fn new < F , B > ( foreground : F , background : B ) -> Self where F : Into < Color > , B : Into < Color > , { Self { foreground : foreground . into ( ) , background : background . into ( ) } }
Just a convenience method for creating color pairs with conversion.
Just a convenience method for creating color pairs with conversion .
foreground
F
background
B
foreground
F
background
B