Added function to color picker to set a color in RGB.
This enables users to pick a color from an existing block.