What is the HEX code for gainsboro?
The CSS color gainsboro in HEX format is #dcdcdc. Use this value directly in CSS, SVG, and most design tools.
How do I use gainsboro in CSS?
To apply gainsboro in CSS:
- Text color: color: #dcdcdc;
- Background: background-color: #dcdcdc;
- Border: border-color: #dcdcdc;
What are all the color format values for gainsboro?
| Format | Value |
|---|---|
| HEX | #dcdcdc |
| RGB | rgb(220, 220, 220) |
| HSL | hsl(0, 0%, 86.3%) |
| CMYK | cmyk(0%, 0%, 0%, 13.7%) |
How do I convert gainsboro to HEX?
Select gainsboro from the color name list in our color converter. The HEX value — #dcdcdc — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does gainsboro belong to?
gainsboro belongs to the neutral (gray) color family. It is a light, muted color with HSL values: hue 0°, saturation 0%, lightness 86.3%.
How do I create lighter and darker shades of gainsboro?
Lighter variant (lightness 95%): #f2f2f2. Darker variant (lightness 71.3%): #b6b6b6. 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.