📌 Pick color in your image! It will magically return average color in your UIImage
!. Also, you can get hexstring from PickColor
PickColor
is written in Swift 4.2 Compatible with iOS 9.0+
PickColor is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'PickColor'
github "younatics/PickColor"
Get UIColor
let UIColor = UIImage.pickColor()
Get HexString
let UIColorHexString = UIImage.pickColorHexstring()
PickColor is available under the MIT license. See the LICENSE file for more info.