Use this template when you mention more than one color or when you also add a reference in the infobox.
Please use it like this:
{{Hair color|X}}
X: Hair color