Crates.io | colors-by-example |
lib.rs | colors-by-example |
version | 0.1.31 |
source | src |
created_at | 2023-12-29 11:29:12.728147 |
updated_at | 2024-11-03 08:14:58.043875 |
description | Pick ansi-256 colors by examples |
homepage | |
repository | https://github.com/koyeung/colors-by-example/ |
max_upload_size | |
id | 1083214 |
size | 2,911,847 |
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.