⤺ color picker
0
Reddit

#1f0a18 Color Hex

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


The hex color code #1f0a18 is a shade of red-magenta. In a RGB color space it is composed of 12.16% red, 3.92% green and 9.41% blue. In HSL notation it has 320° hue, 51.2% saturation and 8% lightness. The process color (CMYK) is combination of 0% cyan, 67.74% magenta, 22.58% yellow and 87.84% key (black). The closest short hexadecimal code of #1f0a18 is #101.

Color information

  • #1f0a18 is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 67.74%
    • Yellow: 22.58%
    • Key color - black: 87.84%
  • In the HSL model coordinates are:
    • Hue: 320° degrees
    • Saturation: 51.2%
    • Lightness: 8%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 10 (3.92%)
    • Blue: 24 (9.41%)

Conversions

Hex:
#1f0a18
CMYK:
C: 0%, M: 67.74%, Y: 22.58%, K: 87.84%
RGB:
R: 31, G: 10, B: 24
HSL:
H: 320°, S: 51.2%, L: 8%

Color harmonies

#1f0a18 color HTML and CSS codes

Example CSS code:

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

#1f0a18 text/font color

How to set font color?

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

Font color is #1f0a18.

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

#1f0a18 background color

How to set background color?

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

Background color is #1f0a18.

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