White colour (#FFFFFF)
White is very light a neutral grey with hex code #FFFFFF, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 255, 255, 255; in HSL 0°, 0%, 100%. Use the tool to explore shades and harmonies.
How to use the White colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
White in every format
| Format | Value |
|---|---|
| HEX | #FFFFFF |
| RGB | rgb(255, 255, 255) |
| RGB (0–1) | 1.000, 1.000, 1.000 |
| HSL | hsl(0, 0%, 100%) |
| CMYK (approx.) | 0%, 0%, 0%, 0% |
| CSS | color: white; |
Shades and tints of White
Same hue and saturation, lightness from 90% to 10%:
#e6e6e6 | #cccccc | #b3b3b3 | #999999 | #808080 | #666666 | #4d4d4d | #333333 | #1a1a1a |
Colours that go with White
| Harmony | Colours | |
|---|---|---|
| Complementary | #ffffff | |
| Triadic | #ffffff | #ffffff |
| Analogous | #ffffff | #ffffff |
Similar named colours
The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:
| Colour | HEX | Difference |
|---|---|---|
| snow | #fffafa | very close |
| ghostwhite | #f8f8ff | very close |
| mintcream | #f5fffa | very close |
| azure | #f0ffff | very close |
| ivory | #fffff0 | very close |
Accessibility
Contrast ratio of White against white is 1:1 (fails WCAG AA for normal text) and against black 21:1 (passes). Use black or very dark text on a White background rather than white.
Frequently asked questions
What is the hex code for White?
#FFFFFF.
What is White in RGB?
rgb(255, 255, 255).
What colour is complementary to White?
#ffffff, directly opposite on the colour wheel.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.