Tailwind gray-300: questions & answers
What is the HEX code of Tailwind gray-300?
Tailwind gray-300 is #D1D5DB, which is rgb(209, 213, 219) or hsl(216, 12%, 84%).
How do I use gray-300 as a background in Tailwind?
Add the class bg-gray-300 to the element. Use text-gray-300 for text and border-gray-300 for borders.
What text color works on bg-gray-300?
gray-600 (#4B5563) is the closest shade of the same color with readable contrast (5.13:1). Plain black text gives 14.25:1.