Gray 900
#111827
gray-900
The darkest gray, nearly black for maximum contrast.
Color Values
| Hex | #111827 | |
| RGB | rgb(17, 24, 39) | |
| HSL | hsl(221, 39%, 11%) |
How to Use
Tailwind CSS
Tailwind Classeshtml
<!-- Tailwind CSS Classes -->
<div class="gray-900">
Background
</div>
<p class="gray-900">
Text
</p>
<div class="gray-900 border">
Border
</div>CSS
CSS Codecss
/* CSS Variables */
--color-gray-900: #111827;
/* Direct Usage */
.element {
color: #111827;
background-color: rgb(17, 24, 39);
}Best Use Cases
Primary dark backgrounds
Text on light backgrounds
Dark headers
Find More Colors
Explore all 242 Tailwind CSS colors with our color tools.
Browse Colors