⤺ color picker
0
Reddit

#1212af Color Hex

Hex color #1212af, RGB(18, 18, 175) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #1212af is a shade of blue. In a RGB color space it is composed of 7.06% red, 7.06% green and 68.63% blue. In HSL notation it has 240° hue, 81.3% saturation and 37.8% lightness. The process color (CMYK) is combination of 89.71% cyan, 89.71% magenta, 0% yellow and 31.37% key (black). The closest short hexadecimal code of #1212af is #11a.

Color information

  • #1212af is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 89.71%
    • Magenta: 89.71%
    • Yellow: 0%
    • Key color - black: 31.37%
  • In the HSL model coordinates are:
    • Hue: 240° degrees
    • Saturation: 81.3%
    • Lightness: 37.8%
  • The values in the RGB color space are:
    • Red: 18 (7.06%)
    • Green: 18 (7.06%)
    • Blue: 175 (68.63%)

Conversions

Hex:
#1212af
CMYK:
C: 89.71%, M: 89.71%, Y: 0%, K: 31.37%
RGB:
R: 18, G: 18, B: 175
HSL:
H: 240°, S: 81.3%, L: 37.8%

Color harmonies

#1212af color HTML and CSS codes

Example CSS code:

.setFontColor { color: #1212af; }
.setBackgroundColor { background-color: #1212af; }

#1212af text/font color

How to set font color?

<p style="color:#1212af">Font color is #1212af.</p>

Font color is #1212af.

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

#1212af background color

How to set background color?

<div style="background-color:#1212af">Background color is #1212af.</div>

Background color is #1212af.

Compromise in colors is grey.
- Edi Rama