DEV Community

Cover image for Faster Color picking in Tailwind
Alien060
Alien060

Posted on

Faster Color picking in Tailwind

Even tho tailwind provide a lot of customizability still this method of choosing colors can be little restrictive and inefficient

Image description

Image description

if you want more freedom in choosing the colors :

  1. First install the extension Color info on your VCS code editor.
  2. second after creating a tailwind class, let s say for example you wanna customize the color of a text:(className="text-...") first put a random color using #ffff(or any hex number) so color info can read it second now you can see the GUI to change the color to what you want

Image description

lastly after you choose your hex number color you have to just enclosed it in brackets [#ffff] and tailwind would be able to read it.

Image description

I hope this helps.

Top comments (0)