How to determine html color of Builder Color interface

I need to take the neat IB color that I selected for my background and figure out the html color code so that I can call it in css declarations in the contents of the UIWebView NSString. Easy way to do this? http://screencast.com/t/M2E3MmI5Yj

+3
source share
1 answer

Click on the Tint field in the interface builder (your color).

Click the RGB sliders. They will be in decimal format.

Convert each number to hexadecimal with Google.

For example, with the query: 255 in hexadecimal format.

The last two letters in this case FF is the color.

Your html color:

#RRGGBB

Where R is for red, G is for green and B is for blue.

+2
source

Source: https://habr.com/ru/post/1727701/


All Articles