I Have a slicer which display YES, NO and select all

what want to achieve is to change the background colour to yellow base on the one I select.
For example if I select "Yes"
I want to see

if I select "No" then
if I select "Select all" then
Note I can only select one filter at a time any idea how I can achieve this?

