How do you make the hat transparent but show the parts that are colored in?
If you use Cycles and the black parts in a Image Texture, then you can use Mix Shader to use transparency.



The other way (with Image Textures) is just using Transarency of the Image (png file with transparency e.g.).