Swift:

view.backgroundColor! = UIColor.redColor()

Swift 3

view.backgroundColor = UIColor.redColor