convert all colors to web-safe colors