I have this extension
extension Color { static func hexColour(hexValue:UInt32)->Color { let red = Double((hexValue & 0xFF0000) >> 16) / 255