Is it ok to get my hair coloured... I really need to hide the grey hair thats coming through....lol

Its just that I have been told that its not good for the baby...