You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: color.go
    path of file: ./repos/lazydocker/vendor/github.com/gookit/color
    
    the code of the file until where you have to start completion: /*
Package color is Command line color library.
Support rich color rendering output, universal API method, compatible with Windows system

Source code and other details f
    
func RenderString(code string, str string) string {
	if len(code) == 0 || str == "" {
		return str
	}

	// disabled OR not support color
	if !Enable || !SupportColor() {
		return ClearCode(str)
	}

	return fmt.Sprintf(FullColorTpl, code, str)
}