shithub: picker

ref: ffb97abccf0d8a01cf7db41c495103585d810699
dir: /README.md/

View raw version
# picker

Color picker for Plan 9.  It has HSLuv, HPLuv, and RGB color space
modes and is intended to be used mainly by external programs that need
a way to change their color palette.

The implementation of the H* color spaces is taken from
[here](http://github.com/hsluv/hsluv-c).

## Installing

Clone, run `mk install`

## Documentation

See the man page.

![screenshot](picker.png)

## Themes

At this moment the only program that actually uses picker is
[Orca](https://git.sr.ht/~ft/orca).
Nevertheless, since it supports loading
[themes](https://github.com/hundredrabbits/Themes), it makes sense to
describe how to get them on Plan 9:

```
./themes.rc
```

The themes are stored in `$home/lib/theme`.  Once an app that supports
picker is running, make it start the picker and in case you have the
plumb rule from the man page in `/mnt/plumb/rules`, you can just plumb
any theme and the app will receive the new colors.