detect acceptable bg color values