Colour Code
HTML White Colour Code
The standard white colour in every format your CSS might need, plus a few lighter and darker shades.
Colour
Shades
#FFFFFF#F2F2F2#E6E6E6#D9D9D9#CCCCCC#FFFFFFHex
rgb(255, 255, 255)RGB
hsl(0, 0%, 100%)HSL
1How To Use
Follow these steps — no coding experience needed.
- Pick a formatHex is most common in CSS; RGB and HSL are useful when you need to calculate transparency or lightness.
- Copy the codeClick Copy next to the format you need.
- Try a shadeUse a lighter shade for hover states, or a darker one for pressed/active states.
2Example Output
What this code looks like once it's on a real page.
Page backgrounds and text on dark surfaces.
3Browser Compatibility
| Browser | Support | Notes |
|---|---|---|
| Chrome | ✓ Supported | Full support |
| Firefox | ✓ Supported | Full support |
| Safari | ✓ Supported | Full support |
| Edge | ✓ Supported | Full support |
| Opera | ✓ Supported | Full support |
| Mobile browsers | ✓ Supported | Full support, iOS & Android |
Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.
→Related Pages
More tools that pair naturally with this one.