Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command line wrapper around OS X built in color picker.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 colorpick.m
README.md

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)
Something went wrong with that request. Please try again.