I’d like something more selective than that. Pages that don’t make them the same, do nothing; pages that make them the same, apply some algorithm to select a new colour which is likely to be appropriate in the context. Something like that.
Yeah - But I think you can do some of that stuff with the built-in Firefox Inspector. Just right-click and hit Inspect. On the right side of the toolbar click Style. You can try out styles there.