Hex color #ffff96, RGB(255, 255, 150) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ffff96 is a shade of yellow. In a RGB color space it is composed of 100% red, 100% green and 58.82% blue. In HSL notation it has 60° hue, 100% saturation and 79.4% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 41.18% yellow and 0% key (black). The closest short hexadecimal code of #ffff96 is #ff9.
Example CSS code:
.setFontColor { color: #ffff96; }
.setBackgroundColor { background-color: #ffff96; }
How to set font color?
<p style="color:#ffff96">Font color is #ffff96.</p>
Font color is #ffff96.
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:#ffff96">Background color is #ffff96.</div>
Background color is #ffff96.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage