What is the HEX code for whitesmoke?
The CSS color whitesmoke in HEX format is #f5f5f5. Use this value directly in CSS, SVG, and most design tools.
How do I use whitesmoke in CSS?
To apply whitesmoke in CSS:
- Text color: color: #f5f5f5;
- Background: background-color: #f5f5f5;
- Border: border-color: #f5f5f5;
What are all the color format values for whitesmoke?
| Format | Value |
|---|---|
| HEX | #f5f5f5 |
| RGB | rgb(245, 245, 245) |
| HSL | hsl(0, 0%, 96.1%) |
| CMYK | cmyk(0%, 0%, 0%, 3.9%) |
How do I convert whitesmoke to HEX?
Select whitesmoke from the color name list in our color converter. The HEX value — #f5f5f5 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does whitesmoke belong to?
whitesmoke belongs to the neutral (gray) color family. It is a light, muted color with HSL values: hue 0°, saturation 0%, lightness 96.1%.
How do I create lighter and darker shades of whitesmoke?
Lighter variant (lightness 95%): #f2f2f2. Darker variant (lightness 81.1%): #cfcfcf. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.