Hex color #ffff28, RGB(255, 255, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ffff28 is a shade of yellow. In a RGB color space it is composed of 100% red, 100% green and 15.69% blue. In HSL notation it has 60° hue, 100% saturation and 57.8% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 84.31% yellow and 0% key (black). The closest short hexadecimal code of #ffff28 is #ff2.
Example CSS code:
.setFontColor { color: #ffff28; }
.setBackgroundColor { background-color: #ffff28; }
How to set font color?
<p style="color:#ffff28">Font color is #ffff28.</p>
Font color is #ffff28.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#ffff28">Background color is #ffff28.</div>
Background color is #ffff28.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage