title: CIColor to UIColor -> CIColor not defined for the UIColor UIExtendedSRGBColorSpace
body: <p>I'm trying to implement CIColor from rgb-hex colorspace as follows:</p>
  
  <pre><code>    let bottomColor = UIColor.init(red: 235/255, green: 250/255, blue: 255/255, alpha: 1.0).ciColor
  </code></pre>
  
  <p>However, I keep on hitting the following error:</p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception
    'NSInvalidArgumentException', reason: '*** -CIColor not defined for
    the UIColor UIExtendedSRGBColorSpace 0.921569 0.980392 1 1; need to
    first convert colorspace.'</p>
  </blockquote>
  
  <p>I'm not sure what this means. How to fix this?</p>