Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)