Tailwind neutral-300: questions & answers
What is the HEX code of Tailwind neutral-300?
Tailwind neutral-300 is #D4D4D4, which is rgb(212, 212, 212) or hsl(0, 0%, 83%).
How do I use neutral-300 as a background in Tailwind?
Add the class bg-neutral-300 to the element. Use text-neutral-300 for text and border-neutral-300 for borders.
What text color works on bg-neutral-300?
neutral-600 (#525252) is the closest shade of the same color with readable contrast (5.27:1). Plain black text gives 14.17:1.