Hats are wonderful in the summer for keeping the sun out of your eyes but they can create problems when photographing. Here is the camera set on Auto.
Here it is on Aperture Priority Mode. Better.
Here it is with some Fill Flash
Notice how even the background changes. That's better!