Select Color Picker From Xib , then choose the RGB Slider from second option Color Slider , now you can Enter HEX color (Below RGB Slider) Codes or Select RGB Values from Sliders.
xcode version 11.x
11.x
Within the view controller,
background
Grayscale slider
RGB Sliders