Hex color #f42a41, RGB(244, 42, 65) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f42a41 is a shade of red. In a RGB color space it is composed of 95.69% red, 16.47% green and 25.49% blue. In HSL notation it has 353.2° hue, 90.2% saturation and 56.1% lightness. The process color (CMYK) is combination of 0% cyan, 82.79% magenta, 73.36% yellow and 4.31% key (black). The closest short hexadecimal code of #f42a41 is #f24.
Example CSS code:
.setFontColor { color: #f42a41; }
.setBackgroundColor { background-color: #f42a41; }
How to set font color?
<p style="color:#f42a41">Font color is #f42a41.</p>
Font color is #f42a41.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#f42a41">Background color is #f42a41.</div>
Background color is #f42a41.
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