Hair colour change when pregnant

Can you have your hair coloured when pregnant?