Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jnordberg/color-pick
Command line wrapper around OS X built in color picker.
https://github.com/jnordberg/color-pick
Last synced: 22 days ago
JSON representation
Command line wrapper around OS X built in color picker.
- Host: GitHub
- URL: https://github.com/jnordberg/color-pick
- Owner: jnordberg
- Created: 2011-09-20T17:15:44.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T21:04:33.000Z (over 5 years ago)
- Last Synced: 2024-10-19T04:04:36.127Z (25 days ago)
- Language: Objective-C
- Homepage:
- Size: 112 KB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# color-pick
Command line wrapper around OS X built in color picker.
## usage
`colorpick`
`colorpick -startColor ffff00 -mode 3`
Writes color in hex format to stdout
Avalible modes:
NSGrayModeColorPanel = 0
NSRGBModeColorPanel = 1
NSCMYKModeColorPanel = 2
NSHSBModeColorPanel = 3
NSCustomPaletteModeColorPanel = 4
NSColorListModeColorPanel = 5
NSWheelModeColorPanel = 6
NSCrayonModeColorPanel = 7## wishlist
* Different formats (rgb, rgba, hsl)