How to set Hex color code in xib in iOS

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.

enter image description here


xcode version 11.x

Within the view controller,

  • click on custom for background.
  • Click on the 3 line rgb sliders tab
  • Click Grayscale slider
  • Choose RGB Sliders

xcode version 11.4.1

enter image description here