How can I set the same color and background for all the headlines at once?

Common question
Working with blocks
Appearance
Payment
Teams
Statistics
Security
Affiliate program
Advanced settings
Layout
Interface

You can set the color and background for the headings in the "Appearance" section, the "Text Style" tab.