Crates.io | hex-rgb |
lib.rs | hex-rgb |
version | 0.1.1 |
source | src |
created_at | 2020-12-02 10:28:58.832399 |
updated_at | 2020-12-02 12:25:59.363626 |
description | A Rust CLI Program to convert hexadecimal color-code to RGB |
homepage | |
repository | https://github.com/Shriram-Balaji/cli-hex-rgb |
max_upload_size | |
id | 318855 |
size | 24,131 |
$ cargo install hex-rgb
$ hex-rgb --help
hex-rgb 0.1.0
Converts hexadecimal color code to RGB
USAGE:
hex-rgb [FLAGS] <hex-code>
FLAGS:
-c, --copy Copy RGB Color to system clipboard
-d, --debug Activate debug mode (-d, --debug)
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<hex-code> A valid hexadecimal color code (Eg. "#fafafa" (or) "#fff")
The following packages are required to use hex-rgb
on linux:
On Ubuntu you can install it using:
sudo apt install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
For other distributions of linux, the same packages can be obtained from the corresponding repositories.