I am trying to set the background color of my view to gold. I found RGB values ββfor several tones of this value. For this, I just do this:
[myView.backgroundColor=[UIColor colorWithRed:252.0 green:194.0 blue:0 alpha:1.0]]
But I get the same color as for yellow. The same can be said of silver color. I get the same color as for white. Is there a way to achieve this, or does iOS not support this?
source share