re-instating sanitize_hex_color