Hex color #2f00b9, RGB(47, 0, 185) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f00b9 is a shade of blue-magenta. In a RGB color space it is composed of 18.43% red, 0% green and 72.55% blue. In HSL notation it has 255.2° hue, 100% saturation and 36.3% lightness. The process color (CMYK) is combination of 74.59% cyan, 100% magenta, 0% yellow and 27.45% key (black). The closest short hexadecimal code of #2f00b9 is #20b.
Example CSS code:
.setFontColor { color: #2f00b9; }
.setBackgroundColor { background-color: #2f00b9; }
How to set font color?
<p style="color:#2f00b9">Font color is #2f00b9.</p>
Font color is #2f00b9.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#2f00b9">Background color is #2f00b9.</div>
Background color is #2f00b9.
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