Stereo528 / rgb-hex-converter

Converts HEX to RGB and vice versa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rgb Hex Converter

A simple Rust CLI program to convert RGB (255, 255, 255) to Hex #FFFFFF and vice versa.

Usage/Examples

Enter 'hex' or 'rgb':
> hex
Enter Hex Value:
> #00a86b

RGB: 0, 168, 107     ->     Hex: #00A86B

Installation

This program is released as a portable application only.

Linux:

  sudo mv rgb_hex_converter ~/.local/share/bin

Windows:

Plop it anywhere and run it via Powershell or CMD.

Instanced Terminals will instantly quit when the program is done, do not try to do it that way...

License

BSD-3-Clause

About

Converts HEX to RGB and vice versa

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Rust 100.0%