{"id":17465008,"url":"https://github.com/erdogant/colourmap","last_synced_at":"2025-09-01T00:34:18.680Z","repository":{"id":57417443,"uuid":"234927057","full_name":"erdogant/colourmap","owner":"erdogant","description":"Colourmap is for wrangling RGB and HEX colors.","archived":false,"fork":false,"pushed_at":"2025-03-24T19:01:46.000Z","size":3503,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T09:12:31.063Z","etag":null,"topics":["colorization","colormap","colorscheme","conversion","hex","python","rgb"],"latest_commit_sha":null,"homepage":"https://erdogant.github.io/colourmap","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erdogant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["erdogant"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-01-19T16:09:30.000Z","updated_at":"2025-03-24T19:01:50.000Z","dependencies_parsed_at":"2024-05-17T10:40:39.776Z","dependency_job_id":"95a45963-1528-441a-8eee-1b08bdc8606e","html_url":"https://github.com/erdogant/colourmap","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":"0.28301886792452835","last_synced_commit":"0734d1281002b4754c8af6b7b979d2a278bfbe18"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fcolourmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fcolourmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fcolourmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fcolourmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erdogant","download_url":"https://codeload.github.com/erdogant/colourmap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249789735,"owners_count":21325863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colorization","colormap","colorscheme","conversion","hex","python","rgb"],"created_at":"2024-10-18T11:08:21.786Z","updated_at":"2025-04-19T20:15:43.208Z","avatar_url":"https://github.com/erdogant.png","language":"Python","funding_links":["https://github.com/sponsors/erdogant","https://www.buymeacoffee.com/erdogant)--","https://www.buymeacoffee.com/erdogant"],"categories":[],"sub_categories":[],"readme":"# colourmap\n\n[![Python](https://img.shields.io/pypi/pyversions/colourmap)](https://img.shields.io/pypi/pyversions/colourmap)\n[![PyPI Version](https://img.shields.io/pypi/v/colourmap)](https://pypi.org/project/colourmap/)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/erdogant/colourmap/blob/master/LICENSE)\n[![Github Forks](https://img.shields.io/github/forks/erdogant/colourmap.svg)](https://github.com/erdogant/colourmap/network)\n[![GitHub Open Issues](https://img.shields.io/github/issues/erdogant/colourmap.svg)](https://github.com/erdogant/colourmap/issues)\n[![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![Downloads](https://static.pepy.tech/badge/colourmap/month)](https://pepy.tech/project/colourmap)\n[![Downloads](https://pepy.tech/badge/colourmap)](https://pepy.tech/project/colourmap)\n[![Sphinx](https://img.shields.io/badge/Sphinx-Docs-Green)](https://erdogant.github.io/colourmap/)\n\u003c!---[![BuyMeCoffee](https://img.shields.io/badge/buymea-coffee-yellow.svg)](https://www.buymeacoffee.com/erdogant)--\u003e\n\u003c!---[![Coffee](https://img.shields.io/badge/coffee-black-grey.svg)](https://erdogant.github.io/donate/?currency=USD\u0026amount=5)--\u003e\n\n*`` Colourmap`` generates an unique lit of RGB and HEX colors for the specified input list.\n\n\n# \n**⭐️ Star this repo if you like it ⭐️**\n# \n\n\n### [Documentation pages](https://erdogant.github.io/colourmap/)\n\nOn the [documentation pages](https://erdogant.github.io/colourmap/) you can find more information about ``colourmap`` with examples. \n\n# \n\n##### Install colourmap from PyPI\n```bash\npip install colourmap     # normal install\npip install -U colourmap  # update if needed\n```\n\n\n### Import colourmap package\n```python\nfrom colourmap import colourmap\n```\n\n\u003chr\u003e\n\n#### Quick example\n\nUse the documentation pages for more detailed usage. Some of the most used functionalities are linked below.\n\n\n```python\n\nfrom colourmap import colourmap\n\n# Create N colors\nc = colourmap.generate(10)\n\n# From list\nc_rgb, c_dict = colourmap.fromlist([1,1,2,2,3,1,2,3])\n\n# to HEX\nc_hex = colourmap.rgb2hex(c_rgb)\n\n```\n\n#\n\n#### [Example: Generate N unique colors from a specific colormap](https://erdogant.github.io/colourmap/pages/html/Examples.html#)\n\n#\n\n#### [Example: Generate unique colors based on input labels](https://erdogant.github.io/colourmap/pages/html/Examples.html#create-color-based-on-input-labels)\n\n#\n\n#### [Example: Create unique colors based on seaborn or matplotlib](https://erdogant.github.io/colourmap/pages/html/Examples.html#color-generated-by-seaborn-and-matplotlib)\n\n#\n\n#### [Example: Conversion RGB to HEX](https://erdogant.github.io/colourmap/pages/html/Examples.html#convert-rgb-to-hex)\n\n#\n\n#### [Example: Conversion HEX to RGB](https://erdogant.github.io/colourmap/pages/html/Examples.html#convert-rgb-to-hex)\n\n#\n\n#### [Example: Create a linear gradient between colors](https://erdogant.github.io/colourmap/pages/html/Examples.html#linear-gradient-between-two-colors)\n\n\u003chr\u003e\n\n### Maintainer\n* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)\n* Contributions are welcome.\n* For citations, please use the citation at the right side panel.\n* If you wish to buy me a \u003ca href=\"https://www.buymeacoffee.com/erdogant\"\u003eCoffee\u003c/a\u003e for this work, it is very appreciated :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdogant%2Fcolourmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdogant%2Fcolourmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdogant%2Fcolourmap/lists"}