https://github.com/younatics/pickcolor
📌 Pick color in image, make placeholder color like Pinterest!
https://github.com/younatics/pickcolor
cocoapods image picker pinterest swift
Last synced: 4 months ago
JSON representation
📌 Pick color in image, make placeholder color like Pinterest!
- Host: GitHub
- URL: https://github.com/younatics/pickcolor
- Owner: younatics
- License: mit
- Created: 2017-05-14T15:27:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T11:49:20.000Z (over 6 years ago)
- Last Synced: 2025-06-08T03:29:26.782Z (4 months ago)
- Topics: cocoapods, image, picker, pinterest, swift
- Language: Swift
- Homepage:
- Size: 248 KB
- Stars: 54
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PickColor
[](http://cocoapods.org/pods/PickColor)
[](https://github.com/Carthage/Carthage)
[](https://github.com/younatics/PickColor/blob/master/LICENSE)
[](https://travis-ci.org/younatics/PickColor)
[](http://cocoapods.org/pods/PickColor)
[](https://developer.apple.com/swift/)## Intoduction
📌 Pick color in your image! It will magically return average color in your `UIImage`!. Also, you can get hexstring from `PickColor`
## Requirements
`PickColor` is written in Swift 4.2 Compatible with iOS 9.0+
## Installation
### Cocoapods
PickColor is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'PickColor'
```
### Carthage
```
github "younatics/PickColor"
```
## Usage
Get `UIColor`
```swift
let UIColor = UIImage.pickColor()
```Get `HexString`
```swift
let UIColorHexString = UIImage.pickColorHexstring()
```## References
#### Please tell me or make pull request if you use this library in your application :)## Author
[younatics](https://twitter.com/younatics)## License
PickColor is available under the MIT license. See the LICENSE file for more info.