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