Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T11:49:20.000Z (almost 6 years ago)
- Last Synced: 2024-10-10T21:05:44.400Z (4 months ago)
- Topics: cocoapods, image, picker, pinterest, swift
- Language: Swift
- Homepage:
- Size: 248 KB
- Stars: 53
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PickColor
[![Version](https://img.shields.io/cocoapods/v/PickColor.svg?style=flat)](http://cocoapods.org/pods/PickColor)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/younatics/PickColor/blob/master/LICENSE)
[![Build Status](https://travis-ci.org/younatics/PickColor.svg?branch=master)](https://travis-ci.org/younatics/PickColor)
[![Platform](https://img.shields.io/cocoapods/p/PickColor.svg?style=flat)](http://cocoapods.org/pods/PickColor)
[![Swift 4.2](https://img.shields.io/badge/Swift-4.2-orange.svg?style=flat)](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`![demo](Images/demo.jpg)
## 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.