COLOR #0C2F6E

HEX: #0C2F6E
RGB: (12,47,110)

Color info

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

RGB color model

#0C2F6E color RGB value is (12,47,110).

  • red value is 12;
  • green value is 47;
  • blue value is 110.
RGB:
(12,47,110)
(5%,18%,43%)

RGB channels and saturation

R 12 of 255 = 5%
G 47 of 255 = 18%
B 110 of 255 = 43%

12
47
110

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

Portions of RGB colors in percentages

R + G + B =
12 + 47 + 110 = 169 (100%)
R 12 of 169 ~ 7.1%
G 47 of 169 ~ 27.81%
B 110 of 169 ~ 65.09%

%27.81
%65.09

CMYK color model

#0C2F6E color CMYK value is (89,57,0,57).

  • cyan value is 89.09%
  • magenta value is 57.27%
  • yellow value is 0.00%
  • key color value is 56.86%
CMYK:
(89,57,0,57)
C89M57Y0K57 
(89%,57%,0%,57%)
(0.89/0.57/0.00/0.57)	

CMYK percentages

%89.09
%57.27
%0
%56.86

Codes

Color #0C2F6E in popluar color models

0C2F6E
RGB1247110
HSL219°80.33%23.92%
HSB/HSV219°89.09%43.14%
CMYK89.09%57.27%0.00%
56.86%

Color #0C2F6E in popluar number systems.

HEX0C2F6E
Decimal1247110
Binary11001011111101110
Octal1457156

Shades and tints

Shades of #0C2F6E

#0C2F6E
(12,47,110)
#0B2B64
(11,43,100)
#0A275A
(10,39,90)
#092350
(9,35,80)
#081F46
(8,31,70)
#071B3C
(7,27,60)
#061732
(6,23,50)
#051328
(5,19,40)
#040F1E
(4,15,30)
#030B14
(3,11,20)
#02070A
(2,7,10)
#000000
(0,0,0)

Tints of #0C2F6E

#0C2F6E
(12,47,110)
#22417B
(34,65,123)
#385388
(56,83,136)
#4E6595
(78,101,149)
#6477A2
(100,119,162)
#7A89AF
(122,137,175)
#909BBC
(144,155,188)
#A6ADC9
(166,173,201)
#BCBFD6
(188,191,214)
#D2D1E3
(210,209,227)
#E8E3F0
(232,227,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C2F6E; }

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

This text font color is #0C2F6E.


Background Color

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

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

This div background color is #0C2F6E.


Border color

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

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

This div border color is #0C2F6E.


Opacity

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

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

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

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

This text has shadow with #0C2F6E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C2F6E on black background.


Color preview on white background

This text has color #0C2F6E on white background.



Black color preview on #0C2F6E background

This text has black color on #0C2F6E background.


White color preview on #0C2F6E background

This text has white color on #0C2F6E background.