func ForceSetColorLevel(level terminfo.ColorLevel) terminfo.ColorLevel {
	oldLevelVal := colorLevel
	colorLevel = level
	return oldLevelVal
}
ForceColor force open color render
package color
import (
	"fmt"
	"io"
	"os"
	"regexp"
	"github.com/xo/terminfo"
)
const (
	LevelNo  = terminfo.ColorLevelNone      
	Level16  = terminfo.ColorLevelBasic     
	Level256 = terminfo.ColorLevelHundreds  
	LevelRgb = terminfo.ColorLevelMillions  
)
const (
	SettingTpl   = "\x1b[%sm"
	FullColorTpl = "\x1b[%sm%s\x1b[0m"
)
const ResetSet = "\x1b[0m"
const CodeExpr = `\033\[[\d;?]+m`
var (
	Enable = os.Getenv("NO_COLOR") == ""
	RenderTag = true
	debugMode = os.Getenv("COLOR_DEBUG_MODE") == "on"
	innerErrs []error
	output io.Writer = os.Stdout
	isLikeInCmd bool
	colorLevel, needVTP = detectTermColorLevel()
	codeRegex = regexp.MustCompile(CodeExpr)
)
func TermColorLevel() terminfo.ColorLevel {
	return colorLevel
}
func SupportColor() bool {
	return colorLevel > terminfo.ColorLevelNone
}
func Support256Color() bool {
	return colorLevel > terminfo.ColorLevelBasic
}
func SupportTrueColor() bool {
	return colorLevel > terminfo.ColorLevelHundreds
}
func Set(colors ...Color) (int, error) {
	code := Colors2code(colors...)
	err := SetTerminal(code)
	return 0, err
}
func Reset() (int, error) {
	err := ResetTerminal()
	return 0, err
}
func Disable() bool {
	oldVal := Enable
	Enable = false
	return oldVal
}
func NotRenderTag() {
	RenderTag = false
}
func SetOutput(w io.Writer) {
	output = w
}
func ResetOutput() {
	output = os.Stdout
}
func ResetOptions() {
	RenderTag = true
	Enable = true
	output = os.Stdout
}