public static function set($str, $color)
    {
        $color_attrs = explode("+", $color);
        $ansi_str    = "";
        foreach ($color_attrs as $attr) {
            $ansi_str .= "\033[".self::$ANSI_CODES[$attr]."m";
        }
        $ansi_str .= $str."\033[".self::$ANSI_CODES["off"]."m";
        return $ansi_str;
    }