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