Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set a view's background color using a precise hex via interfacebuilder?

In IB, when I go to the attributes inspector and click the "background" drop down -> other, I get a color pallet with several tabs (wheel, slider, apllets) but there is no place to set a precise such as #ff5911 for example.

Is there a way to do that without using code?

like image 765
dors Avatar asked May 09 '14 08:05

dors


1 Answers

In Xcode 6, you can set hex values in the RGB slider tab.

enter image description here

like image 92
rizzes Avatar answered Oct 21 '22 06:10

rizzes