Remove duplicate instructions for hexadecimal colors