Tailwind zinc-900: questions & answers
What is the HEX code of Tailwind zinc-900?
Tailwind zinc-900 is #18181B, which is rgb(24, 24, 27) or hsl(240, 6%, 10%).
How do I use zinc-900 as a background in Tailwind?
Add the class bg-zinc-900 to the element. Use text-zinc-900 for text and border-zinc-900 for borders.
What text color works on bg-zinc-900?
zinc-400 (#A1A1AA) is the closest shade of the same color with readable contrast (6.91:1). Plain white text gives 17.72:1.