I got this colour UIColor(red:0.26, green:0.5, blue:0.82, alpha:1.0)
When I applied it to uibutton and nav bar I like the nav bar color better than the original colour applied to the button . How do i get that color? Here is pic
I got this colour UIColor(red:0.26, green:0.5, blue:0.82, alpha:1.0)
When I applied it to uibutton and nav bar I like the nav bar color better than the original colour applied to the button . How do i get that color? Here is pic
Your navigation bar is translucent, so its visible color is slightly lighter than the tintColor
.
You can get rid of the translucency using :
self.navigationBar.translucent = false
But if you want to keep the translucent effect, for example if you use an UIScrollView
, then i suggests you to refer to this question. which provides a calculator to get the correct tintColor
.