Tailwind gray-500: questions & answers
What is the HEX code of Tailwind gray-500?
Tailwind gray-500 is #6B7280, which is rgb(107, 114, 128) or hsl(220, 9%, 46%).
How do I use gray-500 as a background in Tailwind?
Add the class bg-gray-500 to the element. Use text-gray-500 for text and border-gray-500 for borders.
What text color works on bg-gray-500?
gray-50 (#F9FAFB) is the closest shade of the same color with readable contrast (4.63:1). Plain white text gives 4.83:1.