{"id":18523674,"url":"https://github.com/sonicdoe/css-color-keywords","last_synced_at":"2025-07-01T22:06:10.944Z","repository":{"id":57741591,"uuid":"79580564","full_name":"sonicdoe/css-color-keywords","owner":"sonicdoe","description":"A list of all CSS color keywords.","archived":false,"fork":false,"pushed_at":"2017-01-20T17:28:14.000Z","size":5,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T23:07:15.089Z","etag":null,"topics":["color","css","css-color","es2015","javascript","nodejs","semver"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sonicdoe.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}},"created_at":"2017-01-20T17:24:33.000Z","updated_at":"2025-06-03T23:42:37.000Z","dependencies_parsed_at":"2022-09-08T12:20:16.718Z","dependency_job_id":null,"html_url":"https://github.com/sonicdoe/css-color-keywords","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sonicdoe/css-color-keywords","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fcss-color-keywords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fcss-color-keywords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fcss-color-keywords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fcss-color-keywords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonicdoe","download_url":"https://codeload.github.com/sonicdoe/css-color-keywords/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdoe%2Fcss-color-keywords/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262158237,"owners_count":23267901,"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":["color","css","css-color","es2015","javascript","nodejs","semver"],"created_at":"2024-11-06T17:37:04.758Z","updated_at":"2025-07-01T22:06:10.528Z","avatar_url":"https://github.com/sonicdoe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css-color-keywords\n\n\u003e A list of all CSS color keywords.\n\nThis list contains all CSS color keywords specified in:\n\n- [CSS Level 1](https://www.w3.org/TR/CSS1/#color-units)\n- [CSS Level 2 (Revision 1)](https://www.w3.org/TR/CSS2/syndata.html#value-def-color)\n- [CSS Color Module Level 3](https://drafts.csswg.org/css-color-3/#colorunits)\n- [CSS Color Module Level 4](https://drafts.csswg.org/css-color/#named-colors)\n\n[See MDN for an overview of all colors](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).\n\n## Installation\n\n```sh\n$ npm install css-color-keywords --save\n```\n\n## Usage\n\n```js\nconst cssColorKeywords = require('css-color-keywords')\n\ncssColorKeywords.black // #000000\ncssColorKeywords.orange // #ffa500\n```\n\nReturns an object where each key is a keyword (e.g. `black`) and the value is\nthe keyword’s RGB hex value (e.g. `#000000`).\n\nEven though CSS color keywords are case-insensitive, this list only contains\nlowercase keywords (and returns lowercase RGB hex values).\n\n## Changelog\n\nThis project follows [Semantic Versioning 2](http://semver.org/).\n\nThis list aims to always include all CSS color keywords. If new keywords are\nspecified, only the *minor* version will be bumped.\n\n- v1.0.0 (2017-01-20): Initial release\n\n## License\n\n`css-color-keywords` is licensed under the ISC license.\nSee [`LICENSE`](LICENSE) for the full license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonicdoe%2Fcss-color-keywords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonicdoe%2Fcss-color-keywords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonicdoe%2Fcss-color-keywords/lists"}