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