Further updates to use a background color and speed up the color lookups.