A white with a very light touch of gray. In CSS it's called whitesmoke. It makes a good interface background because it's easier on the eyes than pure white.
Also known as: whitesmoke.
White smoke (#F5F5F5) is a neutral, light, almost unsaturated color. It belongs to the whites family. It mixes 245 red, 245 green and 245 blue (out of 255). It is mostly used in web, graphic design.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--white-smoke: #F5F5F5;
--white-smoke-rgb: 245, 245, 245;
}
.bg { background-color: var(--white-smoke); }
.text { color: var(--white-smoke); }The hex code for white smoke is #F5F5F5. In RGB it is rgb(245, 245, 245), in HSL hsl(0, 0%, 96%) and in CMYK 0, 0, 0, 4.
Its complement on the color wheel is #F5F5F5, close to white smoke. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 1.1:1, while with black it is 19.3:1.