⤺ color picker

#1f4239 Color Hex

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

The hex color code #1f4239 is a shade of green-cyan. In a RGB color space it is composed of 12.16% red, 25.88% green and 22.35% blue. In HSL notation it has 164.6° hue, 36.1% saturation and 19% lightness. The process color (CMYK) is combination of 53.03% cyan, 0% magenta, 13.64% yellow and 74.12% key (black). The closest short hexadecimal code of #1f4239 is #143.

Color information

  • #1f4239 is a shade of green-cyan.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 53.03%
    • Magenta: 0%
    • Yellow: 13.64%
    • Key color - black: 74.12%
  • In the HSL model coordinates are:
    • Hue: 164.6° degrees
    • Saturation: 36.1%
    • Lightness: 19%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 66 (25.88%)
    • Blue: 57 (22.35%)


C: 53.03%, M: 0%, Y: 13.64%, K: 74.12%
R: 31, G: 66, B: 57
H: 164.6°, S: 36.1%, L: 19%

Color harmonies

#1f4239 color HTML and CSS codes

Example CSS code:

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

#1f4239 text/font color

How to set font color?

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

Font color is #1f4239.

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

#1f4239 background color

How to set background color?

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

Background color is #1f4239.

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