White #FFFFFF

White#FFFFFF · rgb(255, 255, 255)

White color codes

CSS namewhite
HEX#FFFFFF
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
CMYKcmyk(0%, 0%, 0%, 0%)
Decimal16777215

Shades of White (darker)

#E6E6E6 · #CCCCCC · #B3B3B3 · #999999 · #808080 · #666666 · #4D4D4D · #333333 · #1A1A1A

Tints of White (lighter)

#FFFFFF · #FFFFFF · #FFFFFF · #FFFFFF · #FFFFFF · #FFFFFF · #FFFFFF · #FFFFFF · #FFFFFF

Color harmonies

Complementary
#FFFFFF
Triadic
#FFFFFF, #FFFFFF
Analogous
#FFFFFF, #FFFFFF

Accessibility (WCAG contrast)

White text on White1.00:1 · Fail
Black text on White21.00:1 · AAA

Use White in code

.element {
  color: white;          /* or #ffffff */
  background-color: rgb(255 255 255 / 0.5);
}

Frequently asked questions

What is the hex code for White?

White is #FFFFFF in HEX, rgb(255, 255, 255) in RGB and hsl(0, 0%, 100%) in HSL.

Can I use "white" directly in CSS?

Yes. "white" is one of the 148 standard CSS named colors, so color: white; works in every browser.

Is White readable on white?

The contrast ratio of White on white is 1.00:1 (WCAG Fail). On black it is 21.00:1 (AAA).

What is the complementary color of White?

The complementary color (opposite on the color wheel) is #FFFFFF.

Similar colors

Convert any color with the Color Converter, generate palettes with the Random Color Generator, or browse all 148 CSS color names.