turn string into a UIColor swift
<p>I have buttons filled with Colors: <a href="http://i.stack.imgur.com/a7qAh.png" rel="nofollow">enter image description here</a></p>

<p>When user press on a color, a string is generated, i.e. 
<code>Yellow</code> or <code>Blue</code> or <code>Black</code> etc.</p>

<p>What i want is to load the string into a UIColor when i segue back:</p>

<pre><code>garageNameLabel.backgroundColor = UIColor."THE STRING THAT WAS GENERATED"
</code></pre>

<p>I know that <code>UIColor.whiteColor()</code>, <code>blackColor()</code> is there.</p>

<p>code:</p>

<pre><code>let theStringColor = Blue

garageNameLabel.backgroundColor = UIColor.theStringColor
</code></pre>

<p>Thanks </p>