Alternative way to "pick" a color
Alex Kost 5ca1383ca9 gitignore: Add "tmp" and "autoloads.el" | %!s(int64=8) %!d(string=hai) anos | |
---|---|---|
.gitignore | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=9) %!d(string=hai) anos | |
make-color-test.el | %!s(int64=10) %!d(string=hai) anos | |
make-color.el | %!s(int64=10) %!d(string=hai) anos |
Make-color
provides a convenient (IMHO) way for finding a suitable
color by updating a color of some text with keyboard.
Basically, you press r/g/b/... keys and see how a probing region of text changes its foreground/background color (red/green/blue/... components).
make-color.el
into any directory from load-path
or if you
prefer to keep it in a separate directory: (add-to-list 'load-path "/path/to/make-color-dir")
(autoload 'make-color "make-color" nil t)
(autoload 'make-color-switch-to-buffer "make-color" nil t)
The package can be installed from MELPA (with M-x
package-install
or M-x list-packages
).
Shortly: M-x make-color
and press
r/R/g/G/... keys (see
below).
More detailed description:
M-x make-color
or M-x make-color-switch-to-buffer
to make a
buffer in make-color-mode
.MakeColor buffer is not read-only, so you can "cut and paste" (I mean "kill and yank") text there as usual, as well as undo the changes.
Key bindings in make-color-mode
(can be explored with C-h m):