Convenience method for creating autoreleased color using RGBA hex string.
var strokeColor = UIColor(rgba: "#ffcc00").CGColor // Solid color
var fillColor = UIColor(rgba: "#ffcc00dd").CGColor // Color with alpha
var backgroundColor = UIColor(rgba: "#FFF") // Supports shorthand 3 character representation
var menuTextColor = UIColor(rgba: "#013E") // Supports shorthand 4 character representation (with alpha)
See more in RSBarcodes_Swift and objc version