Posted By

bradfields on 02/21/12



Versions (?)

Create UIColor From RGB Values

 / Published in: Objective C

Setup a colour. Values are between 0 and 1 so need to do a little bit of maths instead of just boshing them in from Photoshop

  1. self.theColour = [[UIColor alloc] initWithRed:(210/255.f) green:(121/255.f) blue:(156/255.f) alpha:1];

Report this snippet  

You need to login to post a comment.