Tailwind gray-700: questions & answers
What is the HEX code of Tailwind gray-700?
Tailwind gray-700 is #374151, which is rgb(55, 65, 81) or hsl(217, 19%, 27%).
How do I use gray-700 as a background in Tailwind?
Add the class bg-gray-700 to the element. Use text-gray-700 for text and border-gray-700 for borders.
What text color works on bg-gray-700?
gray-300 (#D1D5DB) is the closest shade of the same color with readable contrast (7:1). Plain white text gives 10.31:1.