A type of hat, often associated with academic or ceremonial use.
El barrete que llevaba el carpintero era de color rojo y tenía una empuñadura de madera.
The hat that the carpenter wore was red and had a wooden handle.
El barretillo que lleva puesto es de color rojo y le queda muy bien.
The little cap he is wearing is red and looks very good on him.