Fetches color name using hex value.
Choose between xkcd or wiki color lists.
>>> a=Color('#000000','xkcd')
>>> a.name
'Black'
Mix Color
>>> a.mix('#FFFFFF')
>>> a
0x7f7f7f
>>> a.name
'Medium Grey'
Apoorva Pandey โ [email protected]
Distributed under the BSD license.
https://github.com/apoorvaeternity
- Fork it (https://github.com/apoorvaeternity/colory/)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -m 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request