TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by HFCoreUI.
To run the example project, clone the repo, and run pod install
from the Example directory first.
let whiteColor = UIColor(rgbHex: 0xFFFFFF)
let whiteColor = UIColor(argbHex: 0xFFFFFFFF)
let whiteColor = UIColor(red: 0xFF, green: 0xFF, blue: 0xFF)
let whiteColor = UIColor(alpha: 0xFF, red: 0xFF, green: 0xFF, blue: 0xFF)
let rgbString = whiteColor.RGBString // "FFFFFF"
let argbString = whiteColor.ARGBString // "FFFFFFFF"
SwiftARGB is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SwiftARGB"
DragonCherry, [email protected]
SwiftARGB is available under the MIT license. See the LICENSE file for more info.