Skip to main content

Common Colors Finder Website

Why color pick when you can grab the 5 most used colors inside a logo or an image and use them for your design and css!

Upload your image or provide an image url and check instantly.

Usage

from colorFinder import ColorFinder

color_finder = ColorFinder(image_url="https://warehouse-camo.ingress.cmh1.psfhosted.org/f10043f97c4efa219b0dca9bab54a6caf620718b/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f62306163633463623730383637613663373463306139653465656330356464653f73697a653d3430", num_colors=5)

colors_list = color_finder.get_common_colors()

print(colors_list)

Output

Returns a list of tuples containing the RGB value and color count matching your top num_colors

[((113, 113, 113), 17), ((127, 127, 127), 14), ((117, 117, 117), 13), ((105, 105, 105), 12), ((166, 166, 166), 12)]

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License

You can now copy this code and use it as your README.md file.

Release files for colorFinder 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for colorFinder 1.0.2
File Size Uploaded
colorFinder-1.0.2.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for colorFinder 1.0.2
File Interpreter ABI Platform
colorFinder-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / colorFinder-1.0.2.tar.gz

Download URL colorFinder-1.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
27e13734d3883b8b8a416e2f5238c4cccd620147a0302febedff9c6b0200b8c3
BLAKE2b-256 checksum
How to use checksums
3aee2b0401f1f6d2ccd6d76b475cc46a5b844ab98f26d477ab8ef721e93226ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / colorFinder-1.0.2-py3-none-any.whl

Download URL colorFinder-1.0.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ac0d99b7c6adf0e1b5f14d917cea7021f469aa1a3304c933e7d0e37bbb2e69a
BLAKE2b-256 checksum
How to use checksums
de57b57edd01274bf5c009335217d060e622eaa908f3837eaafb7abd2a0eb68e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page