whitesmoke (#F5F5F5)

whitesmoke is a CSS named color with the hex code #F5F5F5, rgb(245, 245, 245). It is a very pale, neutral gray.

whitesmoke#F5F5F5
Keywordwhitesmoke
HEX#f5f5f5
RGBrgb(245, 245, 245)
HSLhsl(0, 0%, 96%)

Full #F5F5F5 details: palettes, shades, color-blind view →

Description

Whitesmoke (read as "white smoke") has a hue of 0°, saturation 0% and lightness 96%, which places it in the white family. Its strongest channel is red (245).

Using whitesmoke in CSS

.title { color: whitesmoke; }
.box   { background: whitesmoke; border-color: #f5f5f5; }
.soft  { background: rgb(245 245 245 / 20%); }   /* whitesmoke at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
white#ffffff255, 255, 2552
snow#fffafa255, 250, 2502.7
ghostwhite#f8f8ff248, 248, 2553.6
aliceblue#f0f8ff240, 248, 2554.3
floralwhite#fffaf0255, 250, 2404.9
seashell#fff5ee255, 245, 2385
gainsboro#dcdcdc220, 220, 2205.4
linen#faf0e6250, 240, 2305.7

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 1.09:1; with black text: 19.26:1. Black body text on whitesmoke meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for whitesmoke?
#F5F5F5.
What colors are similar to whitesmoke?
white (#ffffff), snow (#fffafa), ghostwhite (#f8f8ff).