{"id":11717229,"name":"colorhash","ecosystem":"hackage","description":"\n\n[Index] [Quick Jump]\n\nPackage maintainers\n\nFor package maintainers and hackage trustees\n\nCandidates\n\n\n\n\n\n\nHashes are an easy way to distinguish between two objects since it is not impossible that two random objects have the same hash, but it is very unlikely. But for humans, a hash is often still not very convenient. Colors are an easier way to distinguish. For example one can make a list of items, and give each of the items a different color based on the hash.\n\nThis module provides a function rgbHash :: (Hashable a, Floating b, Ord b) =\u003e a -\u003e Colour b that can convert any Hashable object to a Colour.\n\nThe only module, Data.Hashable.Color is compiled with the Safe pragma.\n\nYou can contribute by making a pull request on the GitHub repository.\n\nYou can contact the package maintainer by sending a mail to yourfriends@hapytex.eu.","homepage":"https://github.com/hapytex/colorhash#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/hapytex/colorhash","keywords_array":["bsd3","library","web","Propose Tags"],"namespace":null,"versions_count":3,"first_release_published_at":"2025-06-01T15:59:47.000Z","latest_release_published_at":"2025-08-17T14:39:01.000Z","latest_release_number":"0.2.1.0","latest_published_release_number":null,"last_synced_at":"2026-09-29T04:22:16.601Z","created_at":"2025-06-01T16:04:01.519Z","updated_at":"2026-09-29T04:22:18.315Z","registry_url":"https://hackage.haskell.org/package/colorhash","install_command":"cabal install colorhash","documentation_url":null,"metadata":{},"repo_metadata":{"id":296718041,"uuid":"994220496","full_name":"hapytex/colorhash","owner":"hapytex","description":"Determine a color based on the hash of an object.","archived":false,"fork":false,"pushed_at":"2025-08-17T14:22:27.000Z","size":12646,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-16T03:06:30.666Z","etag":null,"topics":["color","colorhash","hash","hashable","haskell","rgb"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/colorhash","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hapytex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":"https://www.buymeacoffee.com/hapytex"}},"created_at":"2025-06-01T13:35:11.000Z","updated_at":"2025-08-17T14:16:38.000Z","dependencies_parsed_at":"2025-06-08T00:16:25.717Z","dependency_job_id":null,"html_url":"https://github.com/hapytex/colorhash","commit_stats":null,"previous_names":["hapytex/colorhash"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hapytex/colorhash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapytex","download_url":"https://codeload.github.com/hapytex/colorhash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341301770,"owners_count":37827773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-29T02:00:06.972Z","response_time":187,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"hapytex","name":"HaPyTeΧ","uuid":"52853102","kind":"organization","description":"Haskell, Python and (La)TeΧ.","email":"yourfriends@hapytex.eu","website":"hapytex.eu","location":"Belgium","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/52853102?v=4","repositories_count":25,"last_synced_at":"2023-03-03T21:25:13.319Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hapytex","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T05:38:57.617Z","updated_at":"2023-03-03T21:25:13.367Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapytex","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapytex/repositories"},"tags":[{"name":"0.2.0.0","sha":"508ac6275f9c13e9d5bbb695ec022a80acb29667","kind":"commit","published_at":"2025-06-01T17:43:09.000Z","download_url":"https://codeload.github.com/hapytex/colorhash/tar.gz/0.2.0.0","html_url":"https://github.com/hapytex/colorhash/releases/tag/0.2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapytex/colorhash@0.2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/tags/0.2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/tags/0.2.0.0/manifests"},{"name":"0.1.0.0","sha":"d438683c4e7fd072affe4b1c2ec7d311d60688c2","kind":"commit","published_at":"2025-06-01T15:42:40.000Z","download_url":"https://codeload.github.com/hapytex/colorhash/tar.gz/0.1.0.0","html_url":"https://github.com/hapytex/colorhash/releases/tag/0.1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapytex/colorhash@0.1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/tags/0.1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/tags/0.1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-29T04:22:18.315Z","dependent_packages_count":0,"downloads":89,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":99.95074700377606,"dependent_repos_count":56.13199802988015,"dependent_packages_count":20.658895638373558,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":58.91388022400992},"purl":"pkg:hackage/colorhash","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/colorhash","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hackage/colorhash","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/colorhash/dependencies","status":null,"funding_links":["https://www.buymeacoffee.com/hapytex"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-19T15:12:33.708Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":976.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":976.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapytex%2Fcolorhash/issues","maintainers":[{"login":"KommuSoft","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/KommuSoft"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/colorhash/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/colorhash/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/colorhash/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/colorhash/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/colorhash/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/colorhash/codemeta","maintainers":[{"uuid":"wvanonsem90","login":"wvanonsem90","name":null,"email":null,"url":null,"packages_count":13,"html_url":"https://hackage.haskell.org/user/wvanonsem90","role":null,"created_at":"2025-06-01T16:04:04.266Z","updated_at":"2025-06-01T16:04:04.266Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/wvanonsem90/packages"}]}