1.0.3 • Published 4 years ago
hexchange v1.0.3
hexchange
Easily convert colors representation from hexadecimal to RGB, vice versa.
Installation
npm install -g hexchangeCLI command Usage
In order to use the CLI command, you need to call hexchange, and state the covertion you with to make, the the value to conveft. Usage example:
hexchange -a <conversion-type> -v <value-to-convert>Available conversion types
htr - convert from hexadecimal representation to RGB representation.
rth - convert from RGB representation to hexadecimal representation.
Full examples
hexchange -a htr -v #111111hexchange -a htr -v #111hexchange -a rth -v rgb(17,17,17)CLI Wizard Usage
Start by typing:
hexchangeThen, select by arrow keys the conversion type you need:

Type the value to convert:

And finally, you get the converted value as output:

Additional options
Version
In order to indicate which version of hexchange you use, use:
hexchange -VIn order to watch overall view of hexchange commands, use:
hexchange --help