Shiimoe / colour-converter

Converts between RGB and hex colour values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

colour-converter

Converts between RGB and hex colour values.

Installation

In your terminal, clone and enter the repository:

git clone https://github.com/Demonstrandum/colour-converter.git && cd colour-converter

then install the package through setup.py:

sudo pyhton setup.py install

Usage

From anywhere in your terminal write

colour-convert [COLOUR VALUE]

e.g.

colour-convert 255, 14, 127

colour-convert 255 14 127

which both yield #ff0e7f

and

colour-convert "#ac6710"

colour-convert ac6710

both would return 172, 103, 16

About

Converts between RGB and hex colour values.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%