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