Hex color #dcd21a, RGB(220, 210, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #dcd21a is a shade of yellow. In a RGB color space it is composed of 86.27% red, 82.35% green and 10.2% blue. In HSL notation it has 56.9° hue, 78.9% saturation and 48.2% lightness. The process color (CMYK) is combination of 0% cyan, 4.55% magenta, 88.18% yellow and 13.73% key (black). The closest short hexadecimal code of #dcd21a is #dd1.
Example CSS code:
.setFontColor { color: #dcd21a; }
.setBackgroundColor { background-color: #dcd21a; }
How to set font color?
<p style="color:#dcd21a">Font color is #dcd21a.</p>
Font color is #dcd21a.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#dcd21a">Background color is #dcd21a.</div>
Background color is #dcd21a.
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