COLOR #0C428C

HEX: #0C428C
RGB: (12,66,140)

Color info

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

RGB color model

#0C428C color RGB value is (12,66,140).

  • red value is 12;
  • green value is 66;
  • blue value is 140.
RGB:
(12,66,140)
(5%,26%,55%)

RGB channels and saturation

R 12 of 255 = 5%
G 66 of 255 = 26%
B 140 of 255 = 55%

12
66
140

R + G + B ~ 29%. #0C428C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 66 + 140 = 218 (100%)
R 12 of 218 ~ 5.5%
G 66 of 218 ~ 30.28%
B 140 of 218 ~ 64.22%

%30.28
%64.22

CMYK color model

#0C428C color CMYK value is (91,53,0,45).

  • cyan value is 91.43%
  • magenta value is 52.86%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(91,53,0,45)
C91M53Y0K45 
(91%,53%,0%,45%)
(0.91/0.53/0.00/0.45)	

CMYK percentages

%91.43
%52.86
%0
%45.1

Codes

Color #0C428C in popluar color models

0C428C
RGB1266140
HSL215°84.21%29.80%
HSB/HSV215°91.43%54.90%
CMYK91.43%52.86%0.00%
45.10%

Color #0C428C in popluar number systems.

HEX0C428C
Decimal1266140
Binary1100100001010001100
Octal14102214

Shades and tints

Shades of #0C428C

#0C428C
(12,66,140)
#0B3C80
(11,60,128)
#0A3674
(10,54,116)
#093068
(9,48,104)
#082A5C
(8,42,92)
#072450
(7,36,80)
#061E44
(6,30,68)
#051838
(5,24,56)
#04122C
(4,18,44)
#030C20
(3,12,32)
#020614
(2,6,20)
#000000
(0,0,0)

Tints of #0C428C

#0C428C
(12,66,140)
#225396
(34,83,150)
#3864A0
(56,100,160)
#4E75AA
(78,117,170)
#6486B4
(100,134,180)
#7A97BE
(122,151,190)
#90A8C8
(144,168,200)
#A6B9D2
(166,185,210)
#BCCADC
(188,202,220)
#D2DBE6
(210,219,230)
#E8ECF0
(232,236,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C428C; }

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

This text font color is #0C428C.


Background Color

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

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

This div background color is #0C428C.


Border color

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

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

This div border color is #0C428C.


Opacity

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

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

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

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

This text has shadow with #0C428C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C428C on black background.


Color preview on white background

This text has color #0C428C on white background.



Black color preview on #0C428C background

This text has black color on #0C428C background.


White color preview on #0C428C background

This text has white color on #0C428C background.