(both accessible from the Accessibility preference panel on OS X)
2 media queries (supported by Safari so far):
@media (inverted-colors) {}
@media (monochrome) {}
see https://drafts.csswg.org/mediaqueries-4/#mf-colors
example (really really low-hanging fruit…):
@media (inverted-colors) {
img { filter: invert(100%); }
}
In general I found CSS filters - saturate(), brightness() to be useful to improve the appearance on inverted mode – e.g. a light grey/blue/yellow might visually contrast enough on a white background, but is to weak to conformably discern when inverted. E { saturate (1.10); } could improve things.
(I haven’t tested Hive to see what is really needed… Just passing along experience following work on other projects)