Hex color #f2c448, RGB(242, 196, 72) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f2c448 is a shade of red-yellow. In a RGB color space it is composed of 94.9% red, 76.86% green and 28.24% blue. In HSL notation it has 43.8° hue, 86.7% saturation and 61.6% lightness. The process color (CMYK) is combination of 0% cyan, 19.01% magenta, 70.25% yellow and 5.10% key (black). The closest short hexadecimal code of #f2c448 is #fc4.
Example CSS code:
.setFontColor { color: #f2c448; }
.setBackgroundColor { background-color: #f2c448; }
How to set font color?
<p style="color:#f2c448">Font color is #f2c448.</p>
Font color is #f2c448.
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:#f2c448">Background color is #f2c448.</div>
Background color is #f2c448.
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