https://github.com/trapd00r/colorcoke
Change the extended (non-ANSI) color set. Generate tints and shades that can be applied in any range.
https://github.com/trapd00r/colorcoke
Last synced: 3 months ago
JSON representation
Change the extended (non-ANSI) color set. Generate tints and shades that can be applied in any range.
- Host: GitHub
- URL: https://github.com/trapd00r/colorcoke
- Owner: trapd00r
- Created: 2010-09-14T21:37:47.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T15:06:45.000Z (about 2 years ago)
- Last Synced: 2024-11-04T22:37:09.668Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 148 KB
- Stars: 45
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
NAME
colorcoke - modify the extended, non-ANSI terminal colorsetDESCRIPTION
colorcoke shows off some cool things you can do with the
Term::ExtendedColor family of modules.colorcke lets one modify the extended colorset (88-16 or 256-16 colors,
respectively) for a running terminal session. The change takes effect
immediately - no need to restart the terminal, like when using xrdb.Shades and tints can be generated for an arbitary number of ranges.
The ANSI colors can be left untouched, be included in a shade or set
separately. One can also exclude everything but the ANSI colors. The
ANSI colors is untouched by default.The grey scale ramp (extended color index 232-255) is left untouched by
default. To include them, set the end point to 255.Additional colors can be left untouched by specifying their index with
the --no flag. This can also be configured in the configuration file.The base color to use is specified with the -c flag, and the stepping is
controlled with the -r, -g and -b flag - red, green and blue channel.Red, blue and green amount is specified with -rr, -rg and -rb when the
randomizing option is used.OPTIONS
-c, --color the base color
-r, --red red channel stepping
-g, --green green channel stepping
-b, --blue blue channel stepping
-s, --start first color index to operate on (default: 17)
-e, --end last color index to operate on (default: 231)
-a, --ansi modify the ANSI color range only
-1, --single set a single color (HEX, index)
--random randomize the colors
-rr, --rand-red control amount of red
-rg, --rand-green control amount of green
-rb, --rand-blue control amount of blue
-n, --no do not modify color index n-h, --help show the help and exit
-v, --version show version info and exit
-m, --man show the manpage and exitAUTHOR
Magnus Woldrich
CPAN ID: WOLDRICH
[email protected]
http://japh.seSEE ALSO
Term::ExtendedColor, Term::ExtendedColor::Xresources,
Term::ExtendedColor::TTYCOPYRIGHT
Copyright 2010, 2011 Magnus Woldrich . This program
is free software; you may redistribute it and/or modify it under the
same terms as Perl itself.