---
title: "theme-colors"
description: "Utility that expands a single base hex color into a full 50-900 shade ramp suitable for Tailwind or CSS variables."
canonical: "https://vibing.inc/library/theme-colors-vg-0970"
category: "Dev Utilities & Vibe-Coding Tooling"
subcategory: "UnJS toolkit"
license: "MIT"
author: "UnJS / Pooya Parsa (@pi0)"
source: "https://unjs.io/packages/theme-colors"
---

# theme-colors
Utility that expands a single base hex color into a full 50-900 shade ramp suitable for Tailwind or CSS variables.
## Facts
- Source: https://unjs.io/packages/theme-colors
- Category: Dev Utilities & Vibe-Coding Tooling / UnJS toolkit
- Author: UnJS / Pooya Parsa (@pi0)
- Licence: MIT
- Tags: color, design-tokens, theming, unjs
## Why it's a gem
Two-line palette generation for theming, buried in a backend-flavoured package list.
---
Listed in The Vibeary: https://vibing.inc/library/theme-colors-vg-0970 · JSON: https://vibing.inc/api/public/library/gems/theme-colors-vg-0970