What is the HEX code for drab?
The CSS color drab in HEX format is #828344. Use this value directly in CSS, SVG, and most design tools.
How do I use drab in CSS?
To apply drab in CSS:
- Text color: color: #828344;
- Background: background-color: #828344;
- Border: border-color: #828344;
What are all the color format values for drab?
| Format | Value |
|---|---|
| HEX | #828344 |
| RGB | rgb(130, 131, 68) |
| HSL | hsl(61, 31.7%, 39%) |
| CMYK | cmyk(0.8%, 0%, 48.1%, 48.6%) |
How do I convert drab to HEX?
Select drab from the color name list in our color converter. The HEX value — #828344 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does drab belong to?
drab belongs to the yellow color family. It is a medium, moderately saturated color with HSL values: hue 61°, saturation 31.7%, lightness 39%.
How do I create lighter and darker shades of drab?
Lighter variant (lightness 54%): #aeaf65. Darker variant (lightness 24%): #50512a. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.