⤺ color picker

#1b181c Color Hex

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

The hex color code #1b181c is a shade of magenta. In a RGB color space it is composed of 10.59% red, 9.41% green and 10.98% blue. In HSL notation it has 285° hue, 7.7% saturation and 10.2% lightness. The process color (CMYK) is combination of 3.57% cyan, 14.29% magenta, 0% yellow and 89.02% key (black). The closest short hexadecimal code of #1b181c is #111.

Color information

  • #1b181c is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 3.57%
    • Magenta: 14.29%
    • Yellow: 0%
    • Key color - black: 89.02%
  • In the HSL model coordinates are:
    • Hue: 285° degrees
    • Saturation: 7.7%
    • Lightness: 10.2%
  • The values in the RGB color space are:
    • Red: 27 (10.59%)
    • Green: 24 (9.41%)
    • Blue: 28 (10.98%)


C: 3.57%, M: 14.29%, Y: 0%, K: 89.02%
R: 27, G: 24, B: 28
H: 285°, S: 7.7%, L: 10.2%

Color harmonies

#1b181c color HTML and CSS codes

Example CSS code:

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

#1b181c text/font color

How to set font color?

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

Font color is #1b181c.

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

#1b181c background color

How to set background color?

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

Background color is #1b181c.

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