src/System/Console/Style.php
public static function applyStyle($text, $style)
    {
        $foreground = self::getForeground($style);
        $background = self::getBackground($style);
        return self::apply($text, $foreground, $background);
    }
public static function applyStyle($text, $style)
    {
        $foreground = self::getForeground($style);
        $background = self::getBackground($style);
        return self::apply($text, $foreground, $background);
    }
Apply style.

@param string $text
@param string $style
@return string