vaab / colour

Python color representations manipulation library (RGB, HSL, web, ...)
BSD 2-Clause "Simplified" License
319 stars 41 forks source link

Added support to hex() builtin #35

Closed gabrielcnr closed 7 years ago

gabrielcnr commented 7 years ago

Added the support to the Python's hex() built-in function.

It returns the full hex value of the colour.

I also added a unit test.

gabrielcnr commented 7 years ago

I'm closing this PR because it's not compatible with Python 3.