⤺ color picker
0
Reddit

#1f1238 Color Hex

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


The hex color code #1f1238 is a shade of blue-magenta. In a RGB color space it is composed of 12.16% red, 7.06% green and 21.96% blue. In HSL notation it has 260.5° hue, 51.4% saturation and 14.5% lightness. The process color (CMYK) is combination of 44.64% cyan, 67.86% magenta, 0% yellow and 78.04% key (black). The closest short hexadecimal code of #1f1238 is #113.

Color information

  • #1f1238 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 44.64%
    • Magenta: 67.86%
    • Yellow: 0%
    • Key color - black: 78.04%
  • In the HSL model coordinates are:
    • Hue: 260.5° degrees
    • Saturation: 51.4%
    • Lightness: 14.5%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 18 (7.06%)
    • Blue: 56 (21.96%)

Conversions

Hex:
#1f1238
CMYK:
C: 44.64%, M: 67.86%, Y: 0%, K: 78.04%
RGB:
R: 31, G: 18, B: 56
HSL:
H: 260.5°, S: 51.4%, L: 14.5%

Color harmonies

#1f1238 color HTML and CSS codes

Example CSS code:

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

#1f1238 text/font color

How to set font color?

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

Font color is #1f1238.

Compromise in colors is grey.
- Edi Rama

#1f1238 background color

How to set background color?

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

Background color is #1f1238.

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