COLOR #0C1C4E

HEX: #0C1C4E
RGB: (12,28,78)

Color info

#0C1C4E contains mainly green and blue colors. Web safe color of #0C1C4E is #003366 (or #036).

RGB color model

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

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

RGB channels and saturation

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

12
28
78

R + G + B ~ 16%. #0C1C4E is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 28 + 78 = 118 (100%)
R 12 of 118 ~ 10.17%
G 28 of 118 ~ 23.73%
B 78 of 118 ~ 66.1%

%10.17
%23.73
%66.1

CMYK color model

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

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

CMYK percentages

%84.62
%64.1
%0
%69.41

Codes

Color #0C1C4E in popluar color models

0C1C4E
RGB122878
HSL225°73.33%17.65%
HSB/HSV225°84.62%30.59%
CMYK84.62%64.10%0.00%
69.41%

Color #0C1C4E in popluar number systems.

HEX0C1C4E
Decimal122878
Binary1100111001001110
Octal1434116

Shades and tints

Shades of #0C1C4E

#0C1C4E
(12,28,78)
#0B1A47
(11,26,71)
#0A1840
(10,24,64)
#091639
(9,22,57)
#081432
(8,20,50)
#07122B
(7,18,43)
#061024
(6,16,36)
#050E1D
(5,14,29)
#040C16
(4,12,22)
#030A0F
(3,10,15)
#020808
(2,8,8)
#000000
(0,0,0)

Tints of #0C1C4E

#0C1C4E
(12,28,78)
#22305E
(34,48,94)
#38446E
(56,68,110)
#4E587E
(78,88,126)
#646C8E
(100,108,142)
#7A809E
(122,128,158)
#9094AE
(144,148,174)
#A6A8BE
(166,168,190)
#BCBCCE
(188,188,206)
#D2D0DE
(210,208,222)
#E8E4EE
(232,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1C4E; }

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

This text font color is #0C1C4E.


Background Color

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

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

This div background color is #0C1C4E.


Border color

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

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

This div border color is #0C1C4E.


Opacity

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

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

Text with #0C1C4E 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 #0C1C4E;}

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

This text has shadow with #0C1C4E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1C4E on black background.


Color preview on white background

This text has color #0C1C4E on white background.



Black color preview on #0C1C4E background

This text has black color on #0C1C4E background.


White color preview on #0C1C4E background

This text has white color on #0C1C4E background.