Minecraft wiki entry for Helmet, associated text:  tag: Parent tag.
 display: Display properties.
 color: The color of the leather armor. The tooltip displays "Dyed" if advanced tooltips are disabled, otherwise it displays the hexadecimal color value. Color codes are calculated from the Red, Green and Blue components using this formula:
Red<<16 + Green<<8 + Blue[1]