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