{"id":17635888,"url":"https://github.com/aarongarciah/css-spec-colors","last_synced_at":"2025-10-08T15:06:21.785Z","repository":{"id":40793127,"uuid":"249412572","full_name":"aarongarciah/css-spec-colors","owner":"aarongarciah","description":"🎨 A list of all CSS color keywords and their corresponding values in hex, RGB and HSL. Color list scrapped from W3C spec.","archived":false,"fork":false,"pushed_at":"2024-02-26T21:05:35.000Z","size":147,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T10:32:18.931Z","etag":null,"topics":["colors","css","hex","hsl","keywords","rgb","svg"],"latest_commit_sha":null,"homepage":"https://css-spec-colors.netlify.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aarongarciah.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-23T11:30:01.000Z","updated_at":"2024-08-20T00:55:54.000Z","dependencies_parsed_at":"2024-10-23T10:28:38.418Z","dependency_job_id":null,"html_url":"https://github.com/aarongarciah/css-spec-colors","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.33333333333333337","last_synced_commit":"01587c0842e059feb7be90705514145fd013feac"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aarongarciah/css-spec-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarongarciah%2Fcss-spec-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarongarciah%2Fcss-spec-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarongarciah%2Fcss-spec-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarongarciah%2Fcss-spec-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aarongarciah","download_url":"https://codeload.github.com/aarongarciah/css-spec-colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarongarciah%2Fcss-spec-colors/sbom","scorecard":{"id":159184,"data":{"date":"2025-08-11","repo":{"name":"github.com/aarongarciah/css-spec-colors","commit":"80ac9101848db8a9c5c0eb85a4d8a932c35574be"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T12:51:52.218Z","repository_id":40793127,"created_at":"2025-08-16T12:51:52.218Z","updated_at":"2025-08-16T12:51:52.218Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278963935,"owners_count":26076563,"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-10-08T02:00:06.501Z","response_time":56,"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":["colors","css","hex","hsl","keywords","rgb","svg"],"created_at":"2024-10-23T02:14:40.661Z","updated_at":"2025-10-08T15:06:21.758Z","avatar_url":"https://github.com/aarongarciah.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 css-spec-colors\n\n[![npm](https://badgen.net/npm/v/css-spec-colors)](https://www.npmjs.com/package/css-spec-colors)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![Known Vulnerabilities](https://snyk.io/test/github/aarongarciah/css-spec-colors/badge.svg?targetFile=package.json)](https://snyk.io/test/github/aarongarciah/css-spec-colors?targetFile=package.json)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/7c4bb19f-5cc8-4e39-8d0b-ec931ba4dcd6/deploy-status)](https://app.netlify.com/sites/css-spec-colors/deploys)\n\nA JSON with all CSS color keywords and their corresponding values in hex, RGB and HSL.\n\nThe color list is generating by scrapping the W3C spec (https://www.w3.org/TR/css-color-4/#named-colors).\n\n## Install\n\nUsing npm:\n\n```bash\n$ npm install css-spec-colors\n```\n\nOr yarn:\n\n```bash\n$ yarn add css-spec-colors\n```\n\nYou can also download the JSON file directly from [unpkg](https://unpkg.com/css-spec-colors) or [Netlify](https://css-spec-colors.netlify.app/colors.json) without installing any dependency.\n\n## Usage\n\n\u003e Colors are sorted alphabetically\n\n```javascript\nimport colors from 'css-spec-colors'; // or const colors = require('css-spec-colors');\n\n// All colors\nconsole.log(colors);\n/*\n{\n  aliceblue: {\n    name: 'aliceblue',\n    hex: '#f0f8ff',\n    rgb: 'rgb(240, 248, 255)',\n    hsl: 'hsl(208, 100%, 97.1%)'\n  },\n  antiquewhite: {\n    name: 'antiquewhite',\n    hex: '#faebd7',\n    rgb: 'rgb(250, 235, 215)',\n    hsl: 'hsl(34, 77.8%, 91.2%)'\n  }\n  ...\n}\n*/\n\n// Get a color by name\nconsole.log(colors.aliceblue);\n/*\n{\n  name: 'aliceblue',\n  hex: '#f0f8ff',\n  rgb: 'rgb(240, 248, 255)',\n  hsl: 'hsl(208, 100%, 97.1%)'\n}\n*/\n\n// Get the hex value of a color\nconsole.log(colors.aliceblue.hex); // '#ff0000'\n\n// Get the RGB value of a color\nconsole.log(colors.aliceblue.rgb); // 'rgb(255, 0, 0)'\n\n// Get the HSL value of a color\nconsole.log(colors.aliceblue.hsl); // 'hsl(0, 100%, 50%)'\n```\n\n## License\n\nMIT\n\n---\n\nMade with ♥️ by [Aarón García Hervás](https://aarongarciah.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarongarciah%2Fcss-spec-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faarongarciah%2Fcss-spec-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarongarciah%2Fcss-spec-colors/lists"}