Can you wear knee socks with hiking shorts?

Absolutely Knee socks go great with hiking shorts and look great too. I wear them all the time and enjoy the look and feel. Peter