Skip to content

Convert hexadecimal color codes into RGB tuples.

License

Notifications You must be signed in to change notification settings

acariaC/hex2RGB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hex2RGB

'hex2RGB' is a simple Python program that converts hexadecimal color codes to RGB color format. I personally use it to use 'Adobe Color' to extract colors and convert them into RGB format.

Usage

git clone https://github.com/acariaC/hex2RGB.git
cd hex2RGB
python3 hex2RGB.py

Enter hex colors: #C0FFEE #ABCDEF
[[192, 255, 238], [171, 205, 239]]

Features

  • Converts any valid hexadecimal color code to RGB color format
  • Handles 6-digit hexadecimal color codes
  • Outputs the RGB color code as a tuple of integers

Requirements

Python 3.5 or higher

License

This program is licensed under the MIT License. Feel free to use and modify it for your own purposes.

About

Convert hexadecimal color codes into RGB tuples.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages