TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2015 |
SPMSupports SPM | ✗ |
Maintained by Clay Smith.
Swift port of HUSL (revision 4), courtesy of Clay Smith
This framework adds a single initializer on the OS-specific color class to create a color from HUSL parameters. The initializer takes the same parameters on both OSX and iOS.
// OSX
let color = NSColor(hue: 360.0, saturation: 100.0, lightness: l00.0, alpha: 1.0)
// iOS
let color = UIColor(hue: 360.0, saturation: 100.0, lightness: l00.0, alpha: 1.0)
This project is compatible with Cocoapods and Carthage. (These instructions assume that your chosen method is already installed.)
See License