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_windows.go
    path of file: ./repos/teller/vendor/gopkg.in/gookit/color.v1
    
    the code of the file until where you have to start completion: // +build windows

// Display color on windows
// refer:
//  golang.org/x/sys/windows
// 	golang.org/x/crypto/ssh/termi
    
func convertColorsToWinAttr(colors []Color) uint16 {
	var setting uint16
	for _, c := range colors {
		// check exists
		if wc, ok := winColorsMap[c]; ok {
			setting |= wc
		}
	}

	return setting
}