UIColor
public extension UIColor
-
Undocumented
Declaration
Swift
convenience init(red: Int, green: Int, blue: Int) -
Undocumented
Declaration
Swift
convenience init(rgb: Int) -
UIColor generetor with hex code
Declaration
Swift
static func hex(hex: String) -> UIColorParameters
hexThe hex value with # or without it
Return Value
UIColor for hex code
-
Returns hex string of color
Declaration
Swift
var hexString: NSString { get } -
Modify UIColor value with params
Declaration
Swift
func modified(withAdditionalHue hue: CGFloat = 0.0, additionalSaturation: CGFloat = 0.0, additionalBrightness: CGFloat) -> UIColorParameters
hueHue value
additionalSaturationSaturation value
additionalBrightnessBrightness value
Return Value
New UIColor
UIColor Extension Reference