White Color Code: Hex #FFFFFF
The hex code for White is #FFFFFF (the CSS keyword white). White RGB code: rgb(255, 255, 255).
#FFFFFFThe same code in all 3 listsWhite color codes: the White hex code in every format
Sources
Properties
- Hex codes
- the same in all 3 color lists
- Family
- white
- Contrast
- 1.00:1 with white, 21.00:1 with black
- CSS keyword
- white
- Character
- very light, near-neutral
- Readable text on it
- black (AA)
A very light, almost neutral tint. In code, white gives exactly this hex value. Every list that includes the name agrees on it, so there is only one code to remember.
Black text reads best on it; white text does not pass WCAG AA. Light versions fade to white quickly, so for backgrounds use it near full strength. Next to White Smoke, its closest named neighbour, it looks lighter, about as saturated and neither warmer nor cooler; beside Snow it looks about as light, about as saturated and neither warmer nor cooler. It is one of the 16 original HTML 4 color names. All three channels are multiples of 51, so it is in the old 216-color web-safe palette.
Colors that go with White
Complementary: the opposite of White
#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#9E9E9EBlack text 7.84:1
Analogous
#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1
Triadic
#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1
Monochrome
#484848White text 9.15:1#9E9E9EBlack text 7.84:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1
With neutrals
#FFFFFFBlack text 21.00:1#FFFFFFBlack text 21.00:1#222222White text 15.91:1#A4A4A4Black text 8.42:1
Preview
Heading on White
Body text on this color, 21.00:1.
ButtonHeading in White
Text in this color on white, 1.00:1.
ButtonTints and shades
#FFFFFF#FFFFFF#FFFFFF#FFFFFF#FFFFFF#FFFFFF#CECECE#9E9E9E#717171#484848#222222
WhiteWhiteBlack
Similar named colors
Lists and sources
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: