Tailwind zinc-400: questions & answers
What is the HEX code of Tailwind zinc-400?
Tailwind zinc-400 is #A1A1AA, which is rgb(161, 161, 170) or hsl(240, 5%, 65%).
How do I use zinc-400 as a background in Tailwind?
Add the class bg-zinc-400 to the element. Use text-zinc-400 for text and border-zinc-400 for borders.
What text color works on bg-zinc-400?
zinc-800 (#27272A) is the closest shade of the same color with readable contrast (5.81:1). Plain black text gives 8.19:1.