Radio button checked - add class to element

Radio button checked - add class to element

Hi - i have 3 radio buttons each with its own colour

- red
- white
- antique white

how do i detect if a certain radio selection is checked and then add a certain class to another element so it can be styled accordingly (not parent div).

This is what i have so far