COLOR #0C2A82

HEX: #0C2A82
RGB: (12,42,130)

Color info

#0C2A82 contains mainly blue color. Web safe color of #0C2A82 is #003399 (or #039).

RGB color model

#0C2A82 color RGB value is (12,42,130).

  • red value is 12;
  • green value is 42;
  • blue value is 130.
RGB:
(12,42,130)
(5%,16%,51%)

RGB channels and saturation

R 12 of 255 = 5%
G 42 of 255 = 16%
B 130 of 255 = 51%

12
42
130

R + G + B ~ 24%. #0C2A82 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 42 + 130 = 184 (100%)
R 12 of 184 ~ 6.52%
G 42 of 184 ~ 22.83%
B 130 of 184 ~ 70.65%

%22.83
%70.65

CMYK color model

#0C2A82 color CMYK value is (91,68,0,49).

  • cyan value is 90.77%
  • magenta value is 67.69%
  • yellow value is 0.00%
  • key color value is 49.02%
CMYK:
(91,68,0,49)
C91M68Y0K49 
(91%,68%,0%,49%)
(0.91/0.68/0.00/0.49)	

CMYK percentages

%90.77
%67.69
%0
%49.02

Codes

Color #0C2A82 in popluar color models

0C2A82
RGB1242130
HSL225°83.10%27.84%
HSB/HSV225°90.77%50.98%
CMYK90.77%67.69%0.00%
49.02%

Color #0C2A82 in popluar number systems.

HEX0C2A82
Decimal1242130
Binary110010101010000010
Octal1452202

Shades and tints

Shades of #0C2A82

#0C2A82
(12,42,130)
#0B2777
(11,39,119)
#0A246C
(10,36,108)
#092161
(9,33,97)
#081E56
(8,30,86)
#071B4B
(7,27,75)
#061840
(6,24,64)
#051535
(5,21,53)
#04122A
(4,18,42)
#030F1F
(3,15,31)
#020C14
(2,12,20)
#000000
(0,0,0)

Tints of #0C2A82

#0C2A82
(12,42,130)
#223D8D
(34,61,141)
#385098
(56,80,152)
#4E63A3
(78,99,163)
#6476AE
(100,118,174)
#7A89B9
(122,137,185)
#909CC4
(144,156,196)
#A6AFCF
(166,175,207)
#BCC2DA
(188,194,218)
#D2D5E5
(210,213,229)
#E8E8F0
(232,232,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C2A82; }

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

This text font color is #0C2A82.


Background Color

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

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

This div background color is #0C2A82.


Border color

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

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

This div border color is #0C2A82.


Opacity

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

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

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

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

This text has shadow with #0C2A82 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2A82 on black background.


Color preview on white background

This text has color #0C2A82 on white background.



Black color preview on #0C2A82 background

This text has black color on #0C2A82 background.


White color preview on #0C2A82 background

This text has white color on #0C2A82 background.