UIcolor swift5 code example Example: swift set uicolor let swiftColor = UIColor(red: 1, green: 165/255, blue: 0, alpha: 1)