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