switch(input("What is your hair style?") in list ("Long Black","Short Black","Medium Black","Long Red","Short Red","Medium Red","Long Brown","Short Brown","Medium Brown"))
if("Long Black")
usr.overlays+=/mob/Long_Black
if("Short Black")
usr.overlays+=/mob/Short_Black
if("Medium Black")
usr.overlays+=/mob/Med_Black
if("Long Red")
usr.overlays+=/mob/Long_Red
if("Short Red")
usr.overlays+=/mob/Short_Red
if("Medium Red")
usr.overlays+=/mob/Med_Red
if("Long Brown")
usr.overlays+=/mob/Long_Brown
if("Medium Brown")
usr.overlays+=/mob/Med_Brown
if("Short Brown")
usr.overlays+=/mob/Short_Brown
Problem description:
No matter what hairstyle I select,it ends up giving me long red overlays
secondly, you don't need to define separate mobs just to add an icon as an overlay, but, if you're doing it for other reasons then may I suggest that you check those mob types to make sure they're using the correct hair types that match with this switch statement.
except for the usr, and the seemingly unnecessary use of custom /mob/ types, the code shown should be okay to use, so make sure to check the the parts of your code to make sure there's no mistakes there.