swift color utility & library
- add ColorPack to
Cartfile
github "tottokotkd/ColorPack" "2.2.1"
carthage update
please check ColorPack.playground
MIT
- rename: 'toTriad' -> 'toTriadic'
- ratio merge (experimental)
- totally remade
- 'Double RGB' remains, but Percentage parameters are FROM 0% to 100% (NOT 0.0 to 1.0)
- HSL Color data introduced
- color conversion available (HSL ONLY)
- experimental: calculation, manipulation, operators and tvOS / watchOS support
- RGB can be specified with Double values
- 'Color' struct is removed:
Color.init?()
is changed toColor.create()
- factory methods renamed: ,
Color.RGB
,.Hex
and.WebSafe
are changed to.rgb
,.hex
,.webSafe