⤺ color picker
0
Reddit

#1f1f1f Color Hex

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


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

Color information

  • #1f1f1f is a shade of red.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 0%
    • Yellow: 0%
    • Key color - black: 87.84%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 0%
    • Lightness: 12.2%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 31 (12.16%)
    • Blue: 31 (12.16%)

Conversions

Hex:
#1f1f1f
CMYK:
C: 0%, M: 0%, Y: 0%, K: 87.84%
RGB:
R: 31, G: 31, B: 31
HSL:
H: , S: 0%, L: 12.2%

Color harmonies

#1f1f1f color HTML and CSS codes

Example CSS code:

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

#1f1f1f text/font color

How to set font color?

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

Font color is #1f1f1f.

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

#1f1f1f background color

How to set background color?

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

Background color is #1f1f1f.

Compromise in colors is grey.
- Edi Rama