What is your plan for the hat? Obviously for him to wear it? Chameleons are really not those type of animals that you dress up like dogs or cats, so I am sure what you are planning to do is not a good idea.
I Wasn't Gonna I Thinking Of Puting IT In Cage Somewhere Probably Somewhere Out Of Reach And Make Little Oragami Chameleon and put the origami chameleon in the hat but since my chameleon may eat glue I gonna hang it somewhere else