COLOR #0C0C4E

HEX: #0C0C4E
RGB: (12,12,78)

Color info

#0C0C4E contains mainly blue color. Web safe color of #0C0C4E is #000066 (or #006).

RGB color model

#0C0C4E color RGB value is (12,12,78).

  • red value is 12;
  • green value is 12;
  • blue value is 78.
RGB:
(12,12,78)
(5%,5%,31%)

RGB channels and saturation

R 12 of 255 = 5%
G 12 of 255 = 5%
B 78 of 255 = 31%

12
12
78

R + G + B ~ 14%. #0C0C4E is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 12 + 78 = 102 (100%)
R 12 of 102 ~ 11.76%
G 12 of 102 ~ 11.76%
B 78 of 102 ~ 76.47%

%11.76
%11.76
%76.47

CMYK color model

#0C0C4E color CMYK value is (85,85,0,69).

  • cyan value is 84.62%
  • magenta value is 84.62%
  • yellow value is 0.00%
  • key color value is 69.41%
CMYK:
(85,85,0,69)
C85M85Y0K69 
(85%,85%,0%,69%)
(0.85/0.85/0.00/0.69)	

CMYK percentages

%84.62
%84.62
%0
%69.41

Codes

Color #0C0C4E in popluar color models

0C0C4E
RGB121278
HSL240°73.33%17.65%
HSB/HSV240°84.62%30.59%
CMYK84.62%84.62%0.00%
69.41%

Color #0C0C4E in popluar number systems.

HEX0C0C4E
Decimal121278
Binary110011001001110
Octal1414116

Shades and tints

Shades of #0C0C4E

#0C0C4E
(12,12,78)
#0B0B47
(11,11,71)
#0A0A40
(10,10,64)
#090939
(9,9,57)
#080832
(8,8,50)
#07072B
(7,7,43)
#060624
(6,6,36)
#05051D
(5,5,29)
#040416
(4,4,22)
#03030F
(3,3,15)
#020208
(2,2,8)
#000000
(0,0,0)

Tints of #0C0C4E

#0C0C4E
(12,12,78)
#22225E
(34,34,94)
#38386E
(56,56,110)
#4E4E7E
(78,78,126)
#64648E
(100,100,142)
#7A7A9E
(122,122,158)
#9090AE
(144,144,174)
#A6A6BE
(166,166,190)
#BCBCCE
(188,188,206)
#D2D2DE
(210,210,222)
#E8E8EE
(232,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C0C4E color. Also use rgb(12,12,78) instead hex code.

Text Font Color

.myTextColor { color: #0C0C4E; }

<p style="color:#0C0C4E">This sample text font color is #0C0C4E.</p>

This text font color is #0C0C4E.


Background Color

.myBgColor { background-color: #0C0C4E; }

<div style="background-color:#0C0C4E">Inner text</div>

This div background color is #0C0C4E.


Border color

.myBorderColor { border: 1px solid #0C0C4E; }

<div style="border:3px solid #0C0C4E">Div</div>

This div border color is #0C0C4E.


Opacity

.myOpacity80 { color: #0C0C4E; opacity: 0.8; }

<p style="color:#0C0C4E;opacity:0.8;">80%</p>

Text with #0C0C4E color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #0C0C4E;}

<p style="text-shadow: 3px 3px 1px #0C0C4E">Text here.</p>

This text has shadow with #0C0C4E color.

.textShadow {text-shadow: 3px 3px 1px #0C0C4E, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #0C0C4E, 5px 5px 20px red">Text here.</p>

This text has shadow with #0C0C4E primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C0C4E, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#0C0C4E, Direction=45, Strength=4)">Text</p>

This text has shadow with #0C0C4E and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #0C0C4E;
  -webkit-box-shadow:	1px 1px 3px 2px #0C0C4E;
  box-shadow:		1px 1px 3px 2px #0C0C4E;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #0C0C4E;
-webkit-box-shadow: 1px 1px 3px 2px #0C0C4E;
box-shadow:1px 1px 3px 2px #0C0C4E;">
Div content here</div>
This div box has shadow with color #0C0C4E.

Preview

Color preview on black background

This text has color #0C0C4E on black background.


Color preview on white background

This text has color #0C0C4E on white background.



Black color preview on #0C0C4E background

This text has black color on #0C0C4E background.


White color preview on #0C0C4E background

This text has white color on #0C0C4E background.