SyntaxFix
Write A Post
Hire A Developer
Questions
Try this, you need to add the 255 like so:
255
button.backgroundColor = UIColor(red: 102/255, green: 250/255, blue: 51/255, alpha: 0.5)