Colour changes to text in search function