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