Tailwind Color Generator

Generate Tailwind CSS 50–950 11-shade palette and configuration code from a single Hex color

Features

Auto-generate 11 shades from one color

Set your input color as 500, and calculate tints and shades from 50 to 950

Support both v3 and v4 formats

Switch between config and @theme syntax using tabs

Copy Hex code per shade

Copy individual color codes one at a time using the button for each swatch

Palette updates in real-time

No need to click a button—compare colors as you adjust and experiment

How to Use

1

Enter the base color Hex code

Input a Hex code, or click the color swatch on the left and select a color from the color picker

2

Enter a color name if needed

Input the color name in lowercase English for use in your code. If left blank, 'primary' is used

3

Review the 11-shade color swatches

Check the color swatches and Hex codes for 50–950, and copy each color one by one using the swatch copy button

4

Choose output format and copy

Select v3 or v4 and click 'Copy Code' to paste into your tailwind.config.js or CSS file

Tailwind Color Generator

Use Cases

Create brand color tints and shades

Generate all tints and shades for button hover states and backgrounds from a single brand color

Add colors not in the standard palette

Add project-specific colors missing from Tailwind's standard palette to your config file in 11 shades

Create v4 @theme configuration

Generate Tailwind v4 CSS variables from your site's main color all at once

Prepare design comp for implementation

Generate 11-shade codes from the comp's specified color, and transfer the codes to your design tool as well

Knowledge Base

What Tailwind's 50–950 numbers represent

Tailwind CSS colors use 11 numeric levels from 50 (lightest) to 950 (darkest) to represent brightness, with 500 as the base shade of the color. These numbers are used at the end of class names like 'bg-primary-500' or 'text-primary-700'.

  • 50–300 range:The 50–300 range consists of light colors commonly used for backgrounds and light fills, with enough contrast to remain readable when overlaid with dark text.
  • 600–950 range:The 600–950 range consists of dark colors commonly used for button hover states and heading text, with enough contrast to be clearly visible over white backgrounds.

Difference in color definition between v3 and v4

Tailwind CSS v3 defines colors in JavaScript within tailwind.config.js, while v4 defines colors as CSS variables inside @theme in CSS files. Regardless of which syntax you use, the colors you define work with the same class names like 'bg-primary-500'.

  • v3 syntax:The v3 syntax uses nested format in theme.extend.colors, such as 'primary: { 500: '#3B82F6' }', with color names and levels nested together.
  • v4 syntax:The v4 syntax uses variable names inside @theme that connect the color name and level with hyphens, such as '--color-primary-500: #3B82F6;'.

Safety and Privacy

Tapos sa browser

Ang inilagay na data ay pinoproseso lamang sa loob ng iyong browser at hindi ipinapadala sa labas.

Proseso lamang sa loob ng browser

Palette calculation and code generation ay ginagawa nang lubusan sa loob ng iyong browser, at ang mga input data ay hindi ipinapadala sa server.

Ang komunikasyon ay naka-encrypt gamit ang HTTPS

Ang pagkarga ng pahina ay naka-encrypt din ng TLS, at ang nilalaman ay hindi mababasa ng third party.

Walang pagpapadala sa third party

Ang mga input content ay hindi ipinapadala sa mga external na serbisyo tulad ng advertising network o tracker.

Walang awtomatikong pagpapanatili ng resulta

Input color and color name at input suggestion ay hindi iniimbak sa server.

Sundan ang RAKKOTOOLS sa Google Search

234 kapaki-pakinabang na tool na mas madaling mahanap mula sa Google Search at AI Search!

  • Makikita sa paghahanap
  • Lalabas rin sa AI Search
  • Tuklasin ang mga bagong tool

Impormasyon ng update

Kaugnay na Mga Tool

RAKKOTOOLS aylibre para sa lahat ng paggamit!

Para sa indibidwal o korporasyon, komersyal o di-komersyal, libre ang paggamit.Walang kailangang paunang pahintulot o aplikasyon. Gamitin nang libre sa iba't ibang sitwasyon.

  • Paggamit sa live streaming at video

    Maaari mong gamitin ang iba't ibang tool tulad ng sorteyo at raffle sa live streaming at video content.

  • Paggamit sa paaralan, trabaho, at kaganapan

    Magamit sa klase, paghahati ng koponan, corporate tasks, events, at maraming ibang sitwasyon.

  • Pagbanggit sa web, libro, at social media

    Maaari mong libreng ipakilala ang tool bilang kapaki-pakinabang sa web media, mga libro, at social media.

  • Komersyal na paggamit

    Maaari mong gamitin para sa pananaliksik, pagkakalkula, pagpoproseso, conversion, at iba pang komersyal na layunin.

Mas nagiging masaya ang paggawa kapag inirekomenda mo ito!

Kapag gumagamit sa live streaming o video

link sa RAKKOTOOLS sa description o pagbanggit o ipinapakita na gumagamit ng RAKKOTOOLS sa loob ng streaming o video.

halimbawa ng credit para sa description

RAKKOTOOLS https://rakko.tools/tl

Mga alalahanin sa paggamitMaaari mong gamitin nang libre sa normal na paggamit. Ngunit, ang paggamit para sa layuning lumalabas sa batas, ang paggamit na nakakasama sa karapatan ng ikatlong partido, ang paggamit na nagdudulot ng malalaking karga sa serbisyo, at ang illegal access o ibang aksyon na humahadlang sa operasyon ng serbisyo ay ipinagkakait.

Ang RAKKOTOOLS ay hindi garantisado ang katumpakan o kabuuan ng impormasyon o resulta ng pagkakalkula na nakuha mula sa bawat tool.

Ang gabay na ito ay pagsasalin ng orihinal na teksto sa wikang Hapones. Kung magkaiba ang pagsasalin at ang orihinal, ang Haponeng teksto ang may priyoridad.