Skip to content

apoorvaeternity/colory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This python package tries to find the name of color using hex value and also shows them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages