Hex color #f08bf1, RGB(240, 139, 241) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f08bf1 is a shade of magenta. In a RGB color space it is composed of 94.12% red, 54.51% green and 94.51% blue. In HSL notation it has 299.4° hue, 78.5% saturation and 74.5% lightness. The process color (CMYK) is combination of 0.41% cyan, 42.32% magenta, 0% yellow and 5.49% key (black). The closest short hexadecimal code of #f08bf1 is #f8f.
Example CSS code:
.setFontColor { color: #f08bf1; }
.setBackgroundColor { background-color: #f08bf1; }
How to set font color?
<p style="color:#f08bf1">Font color is #f08bf1.</p>
Font color is #f08bf1.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#f08bf1">Background color is #f08bf1.</div>
Background color is #f08bf1.
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