⤺ color picker

#1f797b Color Hex

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

The hex color code #1f797b is a shade of cyan. In a RGB color space it is composed of 12.16% red, 47.45% green and 48.24% blue. In HSL notation it has 181.3° hue, 59.7% saturation and 30.2% lightness. The process color (CMYK) is combination of 74.80% cyan, 1.63% magenta, 0% yellow and 51.76% key (black). The closest short hexadecimal code of #1f797b is #177.

Color information

  • #1f797b is a shade of cyan.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 74.80%
    • Magenta: 1.63%
    • Yellow: 0%
    • Key color - black: 51.76%
  • In the HSL model coordinates are:
    • Hue: 181.3° degrees
    • Saturation: 59.7%
    • Lightness: 30.2%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 121 (47.45%)
    • Blue: 123 (48.24%)


C: 74.80%, M: 1.63%, Y: 0%, K: 51.76%
R: 31, G: 121, B: 123
H: 181.3°, S: 59.7%, L: 30.2%

Color harmonies

#1f797b color HTML and CSS codes

Example CSS code:

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

#1f797b text/font color

How to set font color?

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

Font color is #1f797b.

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

#1f797b background color

How to set background color?

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

Background color is #1f797b.

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