⤺ color picker
0
Reddit

#0c0c9d Color Hex

Hex color #0c0c9d, RGB(12, 12, 157) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #0c0c9d is a shade of blue. In a RGB color space it is composed of 4.71% red, 4.71% green and 61.57% blue. In HSL notation it has 240° hue, 85.8% saturation and 33.1% lightness. The process color (CMYK) is combination of 92.36% cyan, 92.36% magenta, 0% yellow and 38.43% key (black). The closest short hexadecimal code of #0c0c9d is #009.

Color information

  • #0c0c9d is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 92.36%
    • Magenta: 92.36%
    • Yellow: 0%
    • Key color - black: 38.43%
  • In the HSL model coordinates are:
    • Hue: 240° degrees
    • Saturation: 85.8%
    • Lightness: 33.1%
  • The values in the RGB color space are:
    • Red: 12 (4.71%)
    • Green: 12 (4.71%)
    • Blue: 157 (61.57%)

Conversions

Hex:
#0c0c9d
CMYK:
C: 92.36%, M: 92.36%, Y: 0%, K: 38.43%
RGB:
R: 12, G: 12, B: 157
HSL:
H: 240°, S: 85.8%, L: 33.1%

Color harmonies

#0c0c9d color HTML and CSS codes

Example CSS code:

.setFontColor { color: #0c0c9d; }
.setBackgroundColor { background-color: #0c0c9d; }

#0c0c9d text/font color

How to set font color?

<p style="color:#0c0c9d">Font color is #0c0c9d.</p>

Font color is #0c0c9d.

Compromise in colors is grey.
- Edi Rama

#0c0c9d background color

How to set background color?

<div style="background-color:#0c0c9d">Background color is #0c0c9d.</div>

Background color is #0c0c9d.

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