⤺ color picker
0
Reddit

#1f1998 Color Hex

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


The hex color code #1f1998 is a shade of blue. In a RGB color space it is composed of 12.16% red, 9.8% green and 59.61% blue. In HSL notation it has 242.8° hue, 71.8% saturation and 34.7% lightness. The process color (CMYK) is combination of 79.61% cyan, 83.55% magenta, 0% yellow and 40.39% key (black). The closest short hexadecimal code of #1f1998 is #119.

Color information

  • #1f1998 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 79.61%
    • Magenta: 83.55%
    • Yellow: 0%
    • Key color - black: 40.39%
  • In the HSL model coordinates are:
    • Hue: 242.8° degrees
    • Saturation: 71.8%
    • Lightness: 34.7%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 25 (9.8%)
    • Blue: 152 (59.61%)

Conversions

Hex:
#1f1998
CMYK:
C: 79.61%, M: 83.55%, Y: 0%, K: 40.39%
RGB:
R: 31, G: 25, B: 152
HSL:
H: 242.8°, S: 71.8%, L: 34.7%

Color harmonies

#1f1998 color HTML and CSS codes

Example CSS code:

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

#1f1998 text/font color

How to set font color?

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

Font color is #1f1998.

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

#1f1998 background color

How to set background color?

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

Background color is #1f1998.

Compromise in colors is grey.
- Edi Rama