Gainsboro
#DCDCDC
Gainsboro is a gray tone at #DCDCDC. It sits at 0 degrees on the color wheel with 0% saturation and 86% lightness.
Color values
#DCDCDC
Gainsboro is a gray tone at #DCDCDC. It sits at 0 degrees on the color wheel with 0% saturation and 86% lightness.
Color values
Tints mix Gainsboro with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.
On white1.37:1
Fails WCAG for textOn black15.31:1
Passes AAA for body textCheck a specific pairing in the contrast checker.
4 questions people ask about Gainsboro.
The hex code for Gainsboro is #DCDCDC. In RGB that is rgb(220, 220, 220), and in HSL it is hsl(0, 0%, 86%).
Gainsboro is 220 red, 220 green, and 220 blue, written as rgb(220, 220, 220).
Gainsboro scores 1.37:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.
Yes. You can write color: gainsboro directly in CSS, which every browser resolves to #DCDCDC.