How do I switch spotlight colour on UI Button clicked event?

I’m searching for something but the easiest way of getting a group or results was typing just the first word.