Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 803 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 803 Bytes

Colory

Fetches color name using hex value.

Usage example

pip install colory
>>> from colory.color import Color
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'

Show color in a window
>>> a.show()

Meta

Apoorva Pandey – apoorvapandey365@gmail.com

Distributed under the BSD license.

https://github.com/apoorvaeternity

Contributing

  1. Fork it (https://github.com/apoorvaeternity/colory/)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -m 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request