It depends upon the breed. Some chickens have different coloured hens and roosters. Most don't.
Vent sexing is probably the only way to be accurate in those who do not have different colour feathers. There are many articles on this. If you keep bantams, I would not try personally for fear of damaging the chicks.
Otherwise it is wit for comb, wattle and feather development,