# Ambiguous color hex removal CF wants to remove hexes for ambiguous colors, from product page. for exmaple, if a product has color "pink blue", we should not send color_hex to CF for this color, for product page color-hex display purposes. ### Our solution we define "ambiguous color" to be cases where both of the following are True 1, our algorithm normalizes the color to multiple normalized colors - for example, "pink blue" is normalized to ["pink", "blue"] - for example, "rose red" is normalized to ["pink", "red"] 2, there are conflicts between those colors - for example, "pink" and "red" is considered as not conflicting - for example, "pink" and "blue" is considered as conflicting ### More details Everything except below, would be considered conflicting ``` non_conflicting_approximations = [ ('pink', 'purple', 'red'), ('neutral', 'white', 'grey'), ('yellow', 'orange', 'white', 'neutral'), ('neutral', 'black', 'grey'), ('neutral', 'brown', 'red'), ('white', 'green'), ('black', 'blue'), ('red', 'orange') ] ```