Lead Capture Thank You Message

Hi, does anyone know if there is a way of changing the colour of the lead capture ‘thank you message’? I’ve tried adding some CSS code but it’s not working. Any help would be greatly appreciated.

Thank you :-)