Sets a new selected color
Call this member function to set a new selected color. The color is selected immediately.