Install Advanced Custom Fields (plugin wp) and create an additional field in it to customize the headings type field, select "color". And Yes, install from AСF PHP (Visualizer code for ACF).
So. Now just somehow get in the loop topics: Add to your tag attribute style="background: AND HERE ENTER the CODE FROM the ACF "
Roughly it should look like this:
<div class="pumpum" style="background: <?php echo get_fields('colorforrubric')?>">
The name of the column </div>
This is the most interesting and functional solution.