Accounts for fg/bg color difference to select smoother colors.

Signed-off-by: retep998 <retep998@verizon.net>