⤺ color picker
0
Reddit

#0c1cd2 Color Hex

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


The hex color code #0c1cd2 is a shade of blue. In a RGB color space it is composed of 4.71% red, 10.98% green and 82.35% blue. In HSL notation it has 235.2° hue, 89.2% saturation and 43.5% lightness. The process color (CMYK) is combination of 94.29% cyan, 86.67% magenta, 0% yellow and 17.65% key (black). The closest short hexadecimal code of #0c1cd2 is #01d.

Color information

  • #0c1cd2 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 94.29%
    • Magenta: 86.67%
    • Yellow: 0%
    • Key color - black: 17.65%
  • In the HSL model coordinates are:
    • Hue: 235.2° degrees
    • Saturation: 89.2%
    • Lightness: 43.5%
  • The values in the RGB color space are:
    • Red: 12 (4.71%)
    • Green: 28 (10.98%)
    • Blue: 210 (82.35%)

Conversions

Hex:
#0c1cd2
CMYK:
C: 94.29%, M: 86.67%, Y: 0%, K: 17.65%
RGB:
R: 12, G: 28, B: 210
HSL:
H: 235.2°, S: 89.2%, L: 43.5%

Color harmonies

#0c1cd2 color HTML and CSS codes

Example CSS code:

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

#0c1cd2 text/font color

How to set font color?

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

Font color is #0c1cd2.

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

#0c1cd2 background color

How to set background color?

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

Background color is #0c1cd2.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage