⤺ color picker
0
Reddit

#1f1f1a Color Hex

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


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

Color information

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

Conversions

Hex:
#1f1f1a
CMYK:
C: 0%, M: 0%, Y: 16.13%, K: 87.84%
RGB:
R: 31, G: 31, B: 26
HSL:
H: 60°, S: 8.8%, L: 11.2%

Color harmonies

#1f1f1a color HTML and CSS codes

Example CSS code:

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

#1f1f1a text/font color

How to set font color?

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

Font color is #1f1f1a.

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

#1f1f1a background color

How to set background color?

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

Background color is #1f1f1a.

Compromise in colors is grey.
- Edi Rama