CSS Named Color / Web Safe Color
Copy-ready color values
HEX
#FFFFFFRGB
rgb(255, 255, 255)HSL
hsl(0, 0%, 100%)HSV
hsv(0, 0%, 100%)CMYK approx.
cmyk(0, 0, 0, 0)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #FFFFFF | |
| RGB | rgb(255, 255, 255) | |
| HSL | hsl(0, 0%, 100%) | |
| HSV | hsv(0, 0%, 100%) | |
| CMYK approx. | cmyk(0, 0, 0, 0) | |
| CSS keyword | white |
Contrast and classification
LightLightness1.00:1Contrast with white21.00:1Contrast with blackGrayscaleColor family
Shade and tint preview
White 10%#FFFFFF
White 30%#FFFFFF
White 70%#FFFFFF
White 90%#FFFFFF
Black 10%#E6E6E6
Black 30%#B3B3B3
Black 70%#4D4D4D
Black 90%#1A1A1A
Harmony palettes
Complementary
#000000#3D3D3DAnalogous
#FFFFFF#FFFFFFTriadic
#FFFFFF#FFFFFFSplit complementary
#2E2E2E#000000Using White
White works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-white: #ffffff;
}
.button-primary {
background: var(--color-white);
color: #000000;
}
$white: #ffffff;
// Tailwind arbitrary value
class="bg-[#ffffff] text-white"