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