| Crates.io | colors-by-example |
| lib.rs | colors-by-example |
| version | 0.1.44 |
| created_at | 2023-12-29 11:29:12.728147+00 |
| updated_at | 2025-09-03 02:48:42.064117+00 |
| description | Pick ansi-256 colors by examples |
| homepage | |
| repository | https://github.com/koyeung/colors-by-example/ |
| max_upload_size | |
| id | 1083214 |
| size | 2,915,001 |
Select ANSI-256 colors on terminal emulator by color indexes example on perceived lightness, chroma or hue.
Features:
Find colors with similar hue to color 148, sort by hue: select_colors -H148 |sort -g -k8
Show more similar colors by using --hue-extent: select_colors -H148 --hue-extent 5 |sort -g -k8

Show colors opposite in hue to the reference color: select_colors -H148 --hue-extent 5 --opposite|sort -g -k8

Colors with similar lightness to color 148: select_colors -L148|sort -g -k8

Colors similar or brighter than color 148: select_colors -L148 --brighten true |sort -g -k8

Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.