Tailwind gray-900: questions & answers
What is the HEX code of Tailwind gray-900?
Tailwind gray-900 is #111827, which is rgb(17, 24, 39) or hsl(221, 39%, 11%).
How do I use gray-900 as a background in Tailwind?
Add the class bg-gray-900 to the element. Use text-gray-900 for text and border-gray-900 for borders.
What text color works on bg-gray-900?
gray-400 (#9CA3AF) is the closest shade of the same color with readable contrast (6.99:1). Plain white text gives 17.74:1.