front end – How to set a background color for a cell style via a command?

I want to set different background colors for various cell styles (e.g. Section, Text), so that whenever I choose a specific style for some cell in the notebook, it automatically gets colored accordingly. Is this possible to do via evaluating a simple command inside the notebook?

I’ve tried, for example, Cell(StyleData("Text"), Background -> Gray), but it doesn’t work at all. Is there a way to use SetOptions for this?