The function resets the color to -1 for all color components. After resetting the color, the color is considered as invalid.