Alternative way to "pick" a color
Alex Kost 5ca1383ca9 gitignore: Add "tmp" and "autoloads.el" | 8 éve | |
---|---|---|
.gitignore | 8 éve | |
README.md | 9 éve | |
make-color-test.el | 10 éve | |
make-color.el | 10 éve |
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):