How to set Hex color code in xib in iOS

IosXcodeXib

Ios Problem Overview


I am not finding an option for Hex color code in xib color picker in xcode.

But I have seen in stack over flow answer, https://stackoverflow.com/a/27283783/4391112.

In this, image is having Hex color code option in color picker.

Xcode version : 6.1.1

How can i get that hex color code in color picker in xib.

Please suggest me.

Thanks

Update: Is there any plugin for xcode to select color in hexa color code. I am using xcode 6.1.1.

or is there any setting in xcode to change the colr in hexa code.

please help me guys

Ios Solutions


Solution 1 - 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

Solution 2 - Ios

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioniOSView Question on Stackoverflow
Solution 1 - IosJitendraView Answer on Stackoverflow
Solution 2 - IosRoger PerezView Answer on Stackoverflow