Added code to set the initial color of the color picker if a hex value is selected.