IcerOut / ColorConverter

Lightweight, quick converter between the most common color formats, with a sample of the color

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColorConverter

ColorConverter is a desktop application that converts between the various color formats (hex, RGB, HSL), providing the X11 color name when available and a sample of the given color.

GUI Example

Requirements


Usage

Run using the src/main.py file (python main.py from the CLI). The input box takes input in one of the following formats:

  • X11 standard color name (with or without spaces, any capitalization)
  • Long hex code ( '#' is optional)
  • RGB code (3 numbers 0-255, separated by comma or space)
  • HSL code (1 number 0-360 and 2 percentages (35% or 0.35), separated by comma or space)

These instructions are also available at any time by pressing F1 or entering the Help>Show Help menu.

Clicking the 'Generate random color' button will produce various valid inputs (in any of the input formats). Example input Clicking on any of the output fields copies the content of that field to the clipboard. For the RGB and HSL outputs, it copies the correct CSS function, ready to use (eg. rgb(115, 24, 36) or hsl(293, 54%, 68%)). Clipboard example The 'Generate complementary color' will generate the complement of the currently entered color.


The interface is available in English and Romanian (French coming soon). This can be changed from the File>Change Language menu, and requires a restart to take effect.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for more details

About

Lightweight, quick converter between the most common color formats, with a sample of the color

License:GNU General Public License v3.0


Languages

Language:Python 99.8%Language:Batchfile 0.2%