Gainsboro
What is Gainsboro?
Gainsboro is a pale, dead-neutral gray at #DCDCDC, one polite step down from white. It carries one of the strangest names in the web color canon, and nobody alive can fully explain it.
Read more
What sets gainsboro apart is that it has no undertone at all, with red, green, and blue sitting at identical values in the mix. That perfect balance separates it from its pale gray neighbors, light slate leaning blue on one side and light taupe gray leaning warm on the other.
Developers know it as a default, the classic gray of page borders and buttons that have been switched off. If you have used the internet, you have looked at gainsboro thousands of times without once catching its name.
What Gainsboro means and symbolizes
Gainsboro means neutrality taken nearly to vanishing, a silver gray that keeps out of the way on purpose. It is the color of margins and backgrounds, things designed not to interrupt.
Read more
Pale grays like this read as cleanliness and restraint, which is why galleries paint walls in this territory and let the art do the talking. Gainsboro flatters everything placed on it. That is a genuine power, even if it never gets the credit, because a background that argues with nothing lets every other color say exactly what it means.
The shadow meaning is anonymity. This is also the gray of the disabled button and the untouched form field, which gives it a faint air of waiting for something to happen. Whether it reads as gallery or as waiting room depends entirely on what you put next to it.
The story of Gainsboro
Gainsboro's documented history starts in the X11 color list, the file that named the colors on early computer screens. The name is usually connected to the painter Thomas Gainsborough, though nobody wrote down why.
Read more
Gainsboro is one of the original X11 color names, born in the rgb.txt file that told 1980s workstation screens what to call their colors. That list was put together informally and its choices were never documented, and when the web later absorbed the X11 set into CSS, gainsboro rode along. It is now a valid color word in every browser on earth, odd spelling and all.
The favorite explanation points at Thomas Gainsborough, the 18th-century English portraitist famous for silvery grays and for The Blue Boy. His canvases lean on exactly this kind of pale, pearly gray, so the link feels right. But no one who built the list recorded the reasoning, so the connection stays a good story rather than a documented fact, missing 3 letters and any paper trail.
Gainsboro in nature
Overcast noon light, birch bark, wood ash, and fresh fog before it thickens all sit near gainsboro.
Colors that go with Gainsboro
Gainsboro pairs with nearly everything because it argues with nothing. Use it under saturated colors as a softer white, next to charcoal for a quiet tonal scheme, or with warm woods that supply the heat it lacks.
Read more
The one thing to respect is contrast. Gainsboro against white barely registers, which is either a subtle layering move or an invisible one depending on the screen and the light. Give it a proper dark anchor somewhere in the scheme and it stops being fog and starts being structure.
How to make Gainsboro
Gainsboro starts as white with the smallest measured touch of black, mixed patiently until the gray barely shows. The exact ratios live in our recipe guides.
Shades, tints and tones of Gainsboro
Gainsboro color codes
All conversion formats
| HEX | #DCDCDC |
|---|---|
| RGB | rgb(220, 220, 220) |
| RGB % | 86%, 86%, 86% |
| HSL | hsl(0, 0%, 86%) |
| HSV | 0, 0%, 86% |
| CMYK | 0%, 0%, 0%, 14% |
| Web-safe | #CCCCCC |
| CSS | color: #DCDCDC; |
Gainsboro contrast and accessibility
Frequently asked questions
What is gainsboro?
Gainsboro is a light neutral gray at #DCDCDC, a named color since the X11 screen palette of the 1980s and now part of the CSS standard. The name is usually linked to the painter Thomas Gainsborough, though whoever coined it never explained the choice.
What is the hex color of gainsboro?
Gainsboro's hex code is #DCDCDC, which sets red, green, and blue to an identical 220 of 255. Those equal channels are why it reads perfectly neutral, with no warm or cool lean in any light.