⤺ color picker

#5a0f12 Color Hex

Hex color #5a0f12, RGB(90, 15, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #5a0f12 is a shade of red. In a RGB color space it is composed of 35.29% red, 5.88% green and 7.06% blue. In HSL notation it has 357.6° hue, 71.4% saturation and 20.6% lightness. The process color (CMYK) is combination of 0% cyan, 83.33% magenta, 80% yellow and 64.71% key (black). The closest short hexadecimal code of #5a0f12 is #501.

Color information

  • #5a0f12 is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 83.33%
    • Yellow: 80%
    • Key color - black: 64.71%
  • In the HSL model coordinates are:
    • Hue: 357.6° degrees
    • Saturation: 71.4%
    • Lightness: 20.6%
  • The values in the RGB color space are:
    • Red: 90 (35.29%)
    • Green: 15 (5.88%)
    • Blue: 18 (7.06%)


C: 0%, M: 83.33%, Y: 80%, K: 64.71%
R: 90, G: 15, B: 18
H: 357.6°, S: 71.4%, L: 20.6%

Color harmonies

#5a0f12 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5a0f12; }
.setBackgroundColor { background-color: #5a0f12; }

#5a0f12 text/font color

How to set font color?

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

Font color is #5a0f12.

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

#5a0f12 background color

How to set background color?

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

Background color is #5a0f12.

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