Hex color #f278b5, RGB(242, 120, 181) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f278b5 is a shade of red-magenta. In a RGB color space it is composed of 94.9% red, 47.06% green and 70.98% blue. In HSL notation it has 330° hue, 82.4% saturation and 71% lightness. The process color (CMYK) is combination of 0% cyan, 50.41% magenta, 25.21% yellow and 5.10% key (black). The closest short hexadecimal code of #f278b5 is #f7b.
Example CSS code:
.setFontColor { color: #f278b5; }
.setBackgroundColor { background-color: #f278b5; }
How to set font color?
<p style="color:#f278b5">Font color is #f278b5.</p>
Font color is #f278b5.
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:#f278b5">Background color is #f278b5.</div>
Background color is #f278b5.
Compromise in colors is grey.
- Edi Rama