Show a color sample/picker
Clicking on any color will copy its name to the clipboard, cmd-click will copy its RGB code.
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/ColorPicker.spoon.zip
| Signature | ColorPicker.logger |
|---|---|
| Type | Variable |
| Description | Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. |
| Source | Source/ColorPicker.spoon/init.lua line 21 |
| Signature | ColorPicker:bindHotkeys(mapping) |
|---|---|
| Type | Method |
| Description | Binds hotkeys for ColorPicker |
| Parameters |
|
| Returns | |
| Source | Source/ColorPicker.spoon/init.lua line 185 |
| Signature | ColorPicker.toggleColorSamples(tablename) |
|---|---|
| Type | Method |
| Description | Toggle display on the screen of a grid with all the colors in the given colortable |
| Parameters |
|
| Returns | |
| Source | Source/ColorPicker.spoon/init.lua line 108 |