make the trim match the color from the reference image