White color values
| Format | Value |
|---|---|
| Hex | #FFFFFF |
| RGB | rgb(255, 255, 255) |
| HSL | hsl(0, 0%, 100%) |
| HSV | 0, 0%, 100% |
| CMYK (simple conversion) | 0%, 0%, 0%, 0% |
| Decimal | 16777215 |
CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.
About White
White is the lightest possible color, reflecting all wavelengths of visible light. Designers rely on it constantly for page backgrounds, text areas, and negative space in user interfaces. It conveys cleanliness, simplicity, and openness across branding and digital products. It is one of the 148 CSS named colors.
Shades and tints of White
Tints mix White with white and shades mix it with black. Each step changes the color by 10 percentage points.
| Step | Tint (towards white) | Shade (towards black) |
|---|---|---|
| 10% | #FFFFFF | #E6E6E6 |
| 20% | #FFFFFF | #CCCCCC |
| 30% | #FFFFFF | #B3B3B3 |
| 40% | #FFFFFF | #999999 |
| 50% | #FFFFFF | #808080 |
Color harmony for White
These colors keep the same saturation and lightness as White and rotate the hue around the color wheel.
| Scheme | Colors |
|---|---|
| Complementary | #FFFFFF |
| Analogous | #FFFFFF #FFFFFF |
| Triadic | #FFFFFF #FFFFFF |
| Split complementary | #FFFFFF #FFFFFF |
Contrast and accessibility
Contrast between #FFFFFF and white is 1.00:1 (fails). Against black it is 21.00:1 (passes AAA). For text on a White background, black text is the more readable choice.
Use White in CSS
.element {
color: white;
background-color: #FFFFFF;
border-color: rgb(255 255 255);
outline-color: hsl(0 0% 100%);
}All four lines produce exactly the same color. The keyword white is one of the CSS named colors, so it works in every browser without a color function.
Similar named colors
- Snow: #FFFAFA
- ghostwhite: #F8F8FF
- mintcream: #F5FFFA
- Azure: #F0FFFF
FAQ
What is the hex code for White?
The hex code for White is #FFFFFF. As a CSS color keyword you can also write white.
What is White in RGB?
White is rgb(255, 255, 255): red 255, green 255, blue 255 on the 0 to 255 scale.
What color is closest to White?
Of the CSS named colors, snow (#FFFAFA) is the closest match to White, followed by ghostwhite and mintcream.
More colors
- Wheat: previous page
- White Smoke: next page
- CSS named colors: the full list