Crates.io | colors-by-example |
lib.rs | colors-by-example |
version | |
source | src |
created_at | 2023-12-29 11:29:12.728147 |
updated_at | 2024-12-02 01:44:32.808087 |
description | Pick ansi-256 colors by examples |
homepage | |
repository | https://github.com/koyeung/colors-by-example/ |
max_upload_size | |
id | 1083214 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.