Hex color #ffffff, RGB(255, 255, 255) - also known as white - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ffffff is a shade of red. In a RGB color space it is composed of 100% red, 100% green and 100% blue. In HSL notation it has 0° hue, 0% saturation and 100% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #ffffff is #fff.
Example CSS code:
.setFontColor { color: #ffffff; }
.setBackgroundColor { background-color: #ffffff; }
How to set font color?
<p style="color:#ffffff">Font color is #ffffff.</p>
Font color is #ffffff.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#ffffff">Background color is #ffffff.</div>
Background color is #ffffff.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant