{"id":21066052,"url":"https://github.com/levg34/hexcolor-namer","last_synced_at":"2026-02-05T09:32:19.227Z","repository":{"id":247602539,"uuid":"826325096","full_name":"levg34/hexcolor-namer","owner":"levg34","description":"Get the human name of hexadecimal colors","archived":false,"fork":false,"pushed_at":"2024-07-10T10:40:17.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T14:11:38.832Z","etag":null,"topics":["hexadecimal-color","human-readable","humanreadable"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hexcolor-namer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levg34.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-07-09T13:41:58.000Z","updated_at":"2024-07-12T14:19:00.000Z","dependencies_parsed_at":"2024-11-19T17:58:03.202Z","dependency_job_id":"908139a5-82cc-4652-8b48-4a5719af185d","html_url":"https://github.com/levg34/hexcolor-namer","commit_stats":null,"previous_names":["levg34/hexcolor-namer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/levg34/hexcolor-namer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levg34%2Fhexcolor-namer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levg34%2Fhexcolor-namer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levg34%2Fhexcolor-namer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levg34%2Fhexcolor-namer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levg34","download_url":"https://codeload.github.com/levg34/hexcolor-namer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levg34%2Fhexcolor-namer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266815283,"owners_count":23988564,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"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"}},"keywords":["hexadecimal-color","human-readable","humanreadable"],"created_at":"2024-11-19T17:57:56.111Z","updated_at":"2026-02-05T09:32:19.200Z","avatar_url":"https://github.com/levg34.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HexColorNamer\n\n[![npm version](https://badge.fury.io/js/hexcolor-namer.svg)](https://www.npmjs.com/package/hexcolor-namer)\n[![Build Status](https://travis-ci.com/levg34/hexcolor-namer.svg?branch=main)](https://travis-ci.com/levg34/hexcolor-namer)\n[![License](https://img.shields.io/npm/l/hexcolor-namer)](https://github.com/levg34/hexcolor-namer/blob/main/LICENSE)\n\nHexColorNamer is an npm library that provides human-readable names for hexadecimal colors. It's inspired by Chirag Mehta's [Name that Color](https://chir.ag/projects/ntc/) project and extends its functionality to publish it as an npm library, and support additional languages, including French.\n\n## Features\n\n-   Convert hexadecimal color codes (e.g., \"#FF5733\") to descriptive color names (e.g., \"Cinnabar\"), or the nearest known color.\n-   Supports multiple languages, including English and will support French in the future.\n-   Lightweight and easy to use.\n\n## Installation\n\nInstall HexColorNamer using npm, pnpm, bun, etc:\n\n```bash\nnpm install hexcolor-namer\n```\n\nI am using Bun to develop this library, but of course you can use any package manager you like.\n\n```bash\nbun add hexcolor-namer\n```\n\n## Usage\n\n```javascript\nimport { getColorName } from 'hexcolor-namer'\n\nconst colorCode = '#FF5733'\nconst { name: colorName, nearestMatching, exactMatch } = getColorName(colorCode)\n\nconsole.log(`Color ${colorCode} is named \"${colorName}\"`)\n```\n\n## Credits\n\nHexColorNamer is inspired by Chirag Mehta's [Name that Color](https://chir.ag/projects/ntc/) project. Special thanks to Chirag for his work and permission to create this TypeScript version.\n\n## License\n\nThis project is licensed under the GNU v3 License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevg34%2Fhexcolor-namer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevg34%2Fhexcolor-namer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevg34%2Fhexcolor-namer/lists"}