public static function applyStyle($text, $style)
    {
        $foreground = self::getForeground($style);
        $background = self::getBackground($style);
        return self::apply($text, $foreground, $background);
    }