⤺ color picker

#1f0202 Color Hex

Hex color #1f0202, RGB(31, 2, 2) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #1f0202 is a shade of red. In a RGB color space it is composed of 12.16% red, 0.78% green and 0.78% blue. In HSL notation it has 0° hue, 87.9% saturation and 6.5% lightness. The process color (CMYK) is combination of 0% cyan, 93.55% magenta, 93.55% yellow and 87.84% key (black). The closest short hexadecimal code of #1f0202 is #100.

Color information

  • #1f0202 is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 93.55%
    • Yellow: 93.55%
    • Key color - black: 87.84%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 87.9%
    • Lightness: 6.5%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 2 (0.78%)
    • Blue: 2 (0.78%)


C: 0%, M: 93.55%, Y: 93.55%, K: 87.84%
R: 31, G: 2, B: 2
H: , S: 87.9%, L: 6.5%

Color harmonies

#1f0202 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #1f0202; }
.setBackgroundColor { background-color: #1f0202; }

#1f0202 text/font color

How to set font color?

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

Font color is #1f0202.

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

#1f0202 background color

How to set background color?

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

Background color is #1f0202.

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