Preferences > Fonts & Colors
Add a new element entry like so, using the scope selector markup.heading (this doesn’t seem to effect H tags in HTML):

Use whatever foreground and background colors you want.
Preferences > Fonts & Colors
Add a new element entry like so, using the scope selector markup.heading (this doesn’t seem to effect H tags in HTML):

Use whatever foreground and background colors you want.