When ruler is selected, colorPicker color is changed to the rulers color to invent the own color