shr-color-check

shr-color-check is a compiled Lisp function in `shr.el'.

(shr-color-check FG BG)

Check that FG is visible on BG.
Returns (fg bg) with corrected values.
Returns nil if the colors that would be used are the default
ones, in case fg and bg are nil.