title: How to convert UIColor to string and string to UIColor using swift?
body: <p>I have an object with a UIColor property:</p>
  
  <pre><code>class Beer: NSObject {
    var color: UIColor?
    ...
  }
  </code></pre>
  
  <p>I'm saving this to a DB, so I need to make this property into a valid JSON type, so I'm thinking of converting it to a string. How can I convert into a string to store, and then when loading using that string to create the UIColor?</p>