⤺ color picker
0
Reddit

#1f0f0f Color Hex

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


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

Color information

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

Conversions

Hex:
#1f0f0f
CMYK:
C: 0%, M: 51.61%, Y: 51.61%, K: 87.84%
RGB:
R: 31, G: 15, B: 15
HSL:
H: , S: 34.8%, L: 9%

Color harmonies

#1f0f0f color HTML and CSS codes

Example CSS code:

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

#1f0f0f text/font color

How to set font color?

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

Font color is #1f0f0f.

Compromise in colors is grey.
- Edi Rama

#1f0f0f background color

How to set background color?

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

Background color is #1f0f0f.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage