COLOR #0C227E

HEX: #0C227E
RGB: (12,34,126)

Color info

#0C227E contains mainly blue color. Web safe color of #0C227E is #003366 (or #036).

RGB color model

#0C227E color RGB value is (12,34,126).

  • red value is 12;
  • green value is 34;
  • blue value is 126.
RGB:
(12,34,126)
(5%,13%,49%)

RGB channels and saturation

R 12 of 255 = 5%
G 34 of 255 = 13%
B 126 of 255 = 49%

12
34
126

R + G + B ~ 22%. #0C227E is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 34 + 126 = 172 (100%)
R 12 of 172 ~ 6.98%
G 34 of 172 ~ 19.77%
B 126 of 172 ~ 73.26%

%19.77
%73.26

CMYK color model

#0C227E color CMYK value is (90,73,0,51).

  • cyan value is 90.48%
  • magenta value is 73.02%
  • yellow value is 0.00%
  • key color value is 50.59%
CMYK:
(90,73,0,51)
C90M73Y0K51 
(90%,73%,0%,51%)
(0.90/0.73/0.00/0.51)	

CMYK percentages

%90.48
%73.02
%0
%50.59

Codes

Color #0C227E in popluar color models

0C227E
RGB1234126
HSL228°82.61%27.06%
HSB/HSV228°90.48%49.41%
CMYK90.48%73.02%0.00%
50.59%

Color #0C227E in popluar number systems.

HEX0C227E
Decimal1234126
Binary11001000101111110
Octal1442176

Shades and tints

Shades of #0C227E

#0C227E
(12,34,126)
#0B1F73
(11,31,115)
#0A1C68
(10,28,104)
#09195D
(9,25,93)
#081652
(8,22,82)
#071347
(7,19,71)
#06103C
(6,16,60)
#050D31
(5,13,49)
#040A26
(4,10,38)
#03071B
(3,7,27)
#020410
(2,4,16)
#000000
(0,0,0)

Tints of #0C227E

#0C227E
(12,34,126)
#223689
(34,54,137)
#384A94
(56,74,148)
#4E5E9F
(78,94,159)
#6472AA
(100,114,170)
#7A86B5
(122,134,181)
#909AC0
(144,154,192)
#A6AECB
(166,174,203)
#BCC2D6
(188,194,214)
#D2D6E1
(210,214,225)
#E8EAEC
(232,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C227E; }

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

This text font color is #0C227E.


Background Color

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

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

This div background color is #0C227E.


Border color

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

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

This div border color is #0C227E.


Opacity

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

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

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

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

This text has shadow with #0C227E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C227E on black background.


Color preview on white background

This text has color #0C227E on white background.



Black color preview on #0C227E background

This text has black color on #0C227E background.


White color preview on #0C227E background

This text has white color on #0C227E background.