⤺ color picker

#ffd700 Color Hex (gold)

Hex color #ffd700, RGB(255, 215, 0) - also known as gold - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #ffd700 is a shade of yellow. In a RGB color space it is composed of 100% red, 84.31% green and 0% blue. In HSL notation it has 50.6° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 0% cyan, 15.69% magenta, 100% yellow and 0% key (black). The closest short hexadecimal code of #ffd700 is #fd0.

Color information

  • #ffd700 is a shade of yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 15.69%
    • Yellow: 100%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 50.6° degrees
    • Saturation: 100%
    • Lightness: 50%
  • The values in the RGB color space are:
    • Red: 255 (100%)
    • Green: 215 (84.31%)
    • Blue: 0 (0%)


C: 0%, M: 15.69%, Y: 100%, K: 0%
R: 255, G: 215, B: 0
H: 50.6°, S: 100%, L: 50%

Color harmonies

#ffd700 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #ffd700; }
.setBackgroundColor { background-color: #ffd700; }

#ffd700 text/font color

How to set font color?

<p style="color:#ffd700">Font color is #ffd700.</p>

Font color is #ffd700.

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

#ffd700 background color

How to set background color?

<div style="background-color:#ffd700">Background color is #ffd700.</div>

Background color is #ffd700.

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