Back to #f5fffa

Tailwind CSS Palette

Custom color palette generated from #f5fffa

50#ffffff
100#feffff
200#fdfffe
300#fcfffe
400#fbfffd
500#fafffd
600#fafffc
700#f9fffc
800#f8fffb
900#f7fffb
950#f6fffa

How to Install

1

Open your tailwind.config.js file

Locate the configuration file in your project's root directory.

2

Add the color palette to your theme

Copy the following configuration into your theme's colors section:

module.exports = {
  theme: {
    extend: {
      colors: {
        custom: {
  50: '#ffffff',
  100: '#feffff',
  200: '#fdfffe',
  300: '#fcfffe',
  400: '#fbfffd',
  500: '#fafffd',
  600: '#fafffc',
  700: '#f9fffc',
  800: '#f8fffb',
  900: '#f7fffb',
  950: '#f6fffa',
},
      },
    },
  },
  plugins: [],
}
3

Use the colors in your HTML/JSX

You can now use your custom colors with Tailwind utility classes:

<!-- Background color -->
<div class="bg-custom-500">...</div>

<!-- Text color -->
<p class="text-custom-700">...</p>

<!-- Border color -->
<div class="border-custom-300">...</div>

<!-- Hover states -->
<button class="bg-custom-500 hover:bg-custom-600">...</button>

Alternative: CSS Variables

If you prefer using CSS custom properties, here are the variables:

:root {
--color-custom-50: #ffffff;
--color-custom-100: #feffff;
--color-custom-200: #fdfffe;
--color-custom-300: #fcfffe;
--color-custom-400: #fbfffd;
--color-custom-500: #fafffd;
--color-custom-600: #fafffc;
--color-custom-700: #f9fffc;
--color-custom-800: #f8fffb;
--color-custom-900: #f7fffb;
--color-custom-950: #f6fffa;
}

Individual Color Values

custom-50
#ffffff
custom-100
#feffff
custom-200
#fdfffe
custom-300
#fcfffe
custom-400
#fbfffd
custom-500
#fafffd
custom-600
#fafffc
custom-700
#f9fffc
custom-800
#f8fffb
custom-900
#f7fffb
custom-950
#f6fffa

Learn more about customizing colors in Tailwind CSS