 <p>Only if you had read UIColor's class reference...</p> <pre><code>UIColor *color = [UIColor colorWithRed:200 / 255.0 green:100 / 255.0 blue: 200 / 255.0 alpha: 1.0]; </code></pre> <p>will solve your problem.</p>