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/fac/color
    
    the code of the file until where you have to start completion: package color

import (
	"fmt"
)

// Defines the color of the text
const (
	FgBlack = iota
	FgRed
	FgGreen
	FgYellow
	FgBlue
    
func Apply(color int, style int, format string, a ...interface{}) string {
	var str string
	if len(a) == 0 {
		str = format
	} else {
		str = fmt.Sprintf(format, a...)
	}
	return fmt.Sprintf("\033[3%d;%dm%s\033[0m", color, style, str)
}