/dd>
  </dl>
  <div>
    <h4>Return Value</h4>
    <p>The color</p>
  </div>
  
  <h3 id="section--initWithColor:">
      -initWithColor:
  </h3>
  
  <p>Create an SDL color object with a UIColor object.</p>
<div class="aside aside-warning">
    <p class="aside-title">Warning</p>
    <p>The alpha color of the UIColor object will be ignored</p>

</div>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">-</span> <span class="p">(</span><span class="n">nonnull</span> <span