UIColor
extension UIColor
-
Covert rgb number into swift
UIColor
Usage Example:
let color = rbg(233,232,101)
Declaration
Swift
class func rbg(r: CGFloat, g: CGFloat, b: CGFloat) -> UIColor
Parameters
r
Red
g
Green
b
Blue
Return Value
UIColor