Skip to content

Color Conversion

Latest

Choose a tag to compare

@abdullah-1312007 abdullah-1312007 released this 20 Jan 17:18
· 2 commits to main since this release
77dd34d

This release adds color conversion to ColorsPy. It adds RGB to HEX and HEX to RGB conversion.

Example Code:

from colorspy import *

converter = ColorConverter()

hex_red = converter.rgb2hex((255, 0, 0))

rgb_blue = converter.hex2rgb('#0000ff')


[colorspy-0.2.1.tar.gz](https://github.com/abdullah-1312007/colors-python/files/5844091/colorspy-0.2.1.tar.gz)