I am trying to add custom color like how we do in HTML:
<body bgcolor=#ffffff> </body>.
Can we have a similar kind of custom color combination for showing in cells on iPhones?
cell.backgroundColor = [ UIColor whiteColor]; but instead of whiteColor wanna use #ffffff.
How can I implement this?
Use UIColor colorWithRed:green:blue:alpha:. Colors are 0.0 to 1.0, something like this for bright red:
For a color such as “808182” it would be: