⤺ color picker
0
Reddit

#0c0cff Color Hex

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


The hex color code #0c0cff is a shade of blue. In a RGB color space it is composed of 4.71% red, 4.71% green and 100% blue. In HSL notation it has 240° hue, 100% saturation and 52.4% lightness. The process color (CMYK) is combination of 95.29% cyan, 95.29% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #0c0cff is #00f.

Color information

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

Conversions

Hex:
#0c0cff
CMYK:
C: 95.29%, M: 95.29%, Y: 0%, K: 0%
RGB:
R: 12, G: 12, B: 255
HSL:
H: 240°, S: 100%, L: 52.4%

Color harmonies

#0c0cff color HTML and CSS codes

Example CSS code:

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

#0c0cff text/font color

How to set font color?

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

Font color is #0c0cff.

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

#0c0cff background color

How to set background color?

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

Background color is #0c0cff.

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