{"id":15527187,"url":"https://github.com/bobthered/tailwindcss-palette-generator","last_synced_at":"2026-02-26T17:03:27.722Z","repository":{"id":41048357,"uuid":"289261103","full_name":"bobthered/tailwindcss-palette-generator","owner":"bobthered","description":"Quickly generate tailwind color palettes from a base color.","archived":false,"fork":false,"pushed_at":"2024-10-12T18:08:56.000Z","size":2150,"stargazers_count":48,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T15:26:49.007Z","etag":null,"topics":["color","generate","generator","palette","plugin","tailwind","tailwind-css","tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":"https://bobthered.github.io/tailwindcss-palette-generator","language":"TypeScript","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/bobthered.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-08-21T12:10:35.000Z","updated_at":"2025-08-29T09:40:09.000Z","dependencies_parsed_at":"2024-10-31T04:03:16.536Z","dependency_job_id":"0fd5bdfa-035e-487d-8a35-efbf3320f7a5","html_url":"https://github.com/bobthered/tailwindcss-palette-generator","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.25,"last_synced_commit":"b4b40ccb276d3bd601905824fc8cbbf8b2fc74c7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/bobthered/tailwindcss-palette-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobthered%2Ftailwindcss-palette-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobthered%2Ftailwindcss-palette-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobthered%2Ftailwindcss-palette-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobthered%2Ftailwindcss-palette-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobthered","download_url":"https://codeload.github.com/bobthered/tailwindcss-palette-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobthered%2Ftailwindcss-palette-generator/sbom","scorecard":{"id":246518,"data":{"date":"2025-08-11","repo":{"name":"github.com/bobthered/tailwindcss-palette-generator","commit":"54be24b6fa79080a19824676b425c094944a936d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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 'main'"],"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":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7q7g-4xm8-89cq","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-mh2x-fcqh-fmqv","Warn: Project is vulnerable to: GHSA-rjjv-87mx-6x3h","Warn: Project is vulnerable to: GHSA-6q87-84jw-cjhp","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-3mv9-4h5g-vhg3","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq"],"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-17T07:42:52.049Z","repository_id":41048357,"created_at":"2025-08-17T07:42:52.049Z","updated_at":"2025-08-17T07:42:52.049Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29865415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T16:38:37.846Z","status":"ssl_error","status_checked_at":"2026-02-26T16:37:58.932Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["color","generate","generator","palette","plugin","tailwind","tailwind-css","tailwindcss","tailwindcss-plugin"],"created_at":"2024-10-02T11:04:56.129Z","updated_at":"2026-02-26T17:03:27.685Z","avatar_url":"https://github.com/bobthered.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/bobthered/tailwindcss-palette-generator/main/assets/logo-tailwindcss.png\" style=\"width:10rem\"\u003e\n\n\u003ch1\u003eTailwindcss Palette Generator\u003c/h1\u003e\n\u003ch3\u003eQuickly generate \u003ca href=\"https://www.tailwindcss.com\"\u003etailwindcss\u003c/a\u003e color palettes from a base color or colors.\u003c/h3\u003e\n\n\u003cdiv style=\"padding-top:1rem; padding-bottom:1rem;\"\u003e\n  \u003ca href=\"https://badge.fury.io/js/%40bobthered%2Ftailwindcss-palette-generator\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/%40bobthered%2Ftailwindcss-palette-generator.svg\"\n         alt=\"NPM\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003c/div\u003e\n\n[Demo](#demo) • [Key Features](#key-features) • [Installation](#installation) • [Usage](#usage) • [Examples](#examples)\n\n## Demo\n\nInteractive [demo](https://bobthered.github.io/tailwindcss-palette-generator) generating tailwindcss palettes\n\n## Key Features\n\n- Generate color palette with as little as a hex value ( [See Example](#example-1) )\n- Generate multiple color palettes ( [See Example](#example-2) )\n- Customize the palette shade names \u0026 lightnesses ( [See Example](#example-3) )\n- Default color naming applied automatically or can be overwritten ( [See Example](#example-4) )\n- Zero (0) dependencies\n- Typescript support\n- Preserve Supplied Color\n\n## Installation\n\n```\nnpm i @bobthered/tailwindcss-palette-generator\n```\n\n## Options\n\nThe `tailwindcssPaletteGenerator()` function receives only one parameter.\n\n| Option Type        | Type                                                                                                                                                                                            |\n| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `String`           | `string`                                                                                                                                                                                        |\n| `Array of Strings` | `string[]`                                                                                                                                                                                      |\n| `Object`           | \u003ccode\u003e{\u003cbr\u003e\u0026nbsp;\u0026nbsp;colors?: string[],\u003cbr\u003e\u0026nbsp;\u0026nbsp;names?: string[],\u003cbr\u003e\u0026nbsp;\u0026nbsp;preserve?: boolean,\u003cbr\u003e\u0026nbsp;\u0026nbsp;shades?: Record\u003cstring\u0026nbsp;\\|\u0026nbsp;number, number\u003e[],\u003cbr\u003e}\u003c/code\u003e |\n\n## Usage\n\n### Example - Basic\u003ca name=\"example-1\"\u003e\u003c/a\u003e\n\n```js\n// tailwind.config.js\nimport { tailwindcssPaletteGenerator } from '@bobthered/tailwindcssPaletteGenerator';\n\nexport default {\n\tcontent: ['./src/**/*.{html,js,svelte,ts}'],\n\ttheme: {\n\t\textend: {\n\t\t\tcolors: tailwindcssPaletteGenerator('#FF0040')\n\t\t}\n\t},\n\tplugins: []\n};\n```\n\n### Example - Multiple Colors\u003ca name=\"example-2\"\u003e\u003c/a\u003e\n\n```js\n// tailwind.config.js\nimport { tailwindcssPaletteGenerator } from '@bobthered/tailwindcssPaletteGenerator';\n\nexport default {\n\tcontent: ['./src/**/*.{html,js,svelte,ts}'],\n\ttheme: {\n\t\textend: {\n\t\t\tcolors: tailwindcssPaletteGenerator(['#FF0040', '#FFBB00'])\n\t\t}\n\t},\n\tplugins: []\n};\n```\n\n### Example - Custom Shades and Lightness\u003ca name=\"example-3\"\u003e\u003c/a\u003e\n\n```js\n// tailwind.config.js\nimport { tailwindcssPaletteGenerator } from '@bobthered/tailwindcssPaletteGenerator';\n\nexport default {\n\tcontent: ['./src/**/*.{html,js,svelte,ts}'],\n\ttheme: {\n\t\textend: {\n\t\t\tcolors: tailwindcssPaletteGenerator({\n\t\t\t\tcolors: ['#FF0040'],\n\t\t\t\tshades: [\n\t\t\t\t\t{ name: 'light', lightness: 95 },\n\t\t\t\t\t{ name: 'normal', lightness: 46 },\n\t\t\t\t\t{ name: 'dark', lightness: 7 }\n\t\t\t\t]\n\t\t\t})\n\t\t}\n\t},\n\tplugins: []\n};\n```\n\n### Example - Override color names\u003ca name=\"example-4\"\u003e\u003c/a\u003e\n\n```js\n// tailwind.config.js\nimport { tailwindcssPaletteGenerator } from '@bobthered/tailwindcssPaletteGenerator';\n\nexport default {\n\tcontent: ['./src/**/*.{html,js,svelte,ts}'],\n\ttheme: {\n\t\textend: {\n\t\t\tcolors: tailwindcssPaletteGenerator({\n\t\t\t\tcolors: ['#FF0040', '#FFBB00'],\n\t\t\t\tnames: ['red', 'yellow']\n\t\t\t})\n\t\t}\n\t},\n\tplugins: []\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobthered%2Ftailwindcss-palette-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobthered%2Ftailwindcss-palette-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobthered%2Ftailwindcss-palette-generator/lists"}