COLOR #0C1548

HEX: #0C1548
RGB: (12,21,72)

Color info

#0C1548 contains mainly green and blue colors. Web safe color of #0C1548 is #000033 (or #003).

RGB color model

#0C1548 color RGB value is (12,21,72).

  • red value is 12;
  • green value is 21;
  • blue value is 72.
RGB:
(12,21,72)
(5%,8%,28%)

RGB channels and saturation

R 12 of 255 = 5%
G 21 of 255 = 8%
B 72 of 255 = 28%

12
21
72

R + G + B ~ 14%. #0C1548 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 21 + 72 = 105 (100%)
R 12 of 105 ~ 11.43%
G 21 of 105 ~ 20%
B 72 of 105 ~ 68.57%

%11.43
%20
%68.57

CMYK color model

#0C1548 color CMYK value is (83,71,0,72).

  • cyan value is 83.33%
  • magenta value is 70.83%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(83,71,0,72)
C83M71Y0K72 
(83%,71%,0%,72%)
(0.83/0.71/0.00/0.72)	

CMYK percentages

%83.33
%70.83
%0
%71.76

Codes

Color #0C1548 in popluar color models

0C1548
RGB122172
HSL231°71.43%16.47%
HSB/HSV231°83.33%28.24%
CMYK83.33%70.83%0.00%
71.76%

Color #0C1548 in popluar number systems.

HEX0C1548
Decimal122172
Binary1100101011001000
Octal1425110

Shades and tints

Shades of #0C1548

#0C1548
(12,21,72)
#0B1442
(11,20,66)
#0A133C
(10,19,60)
#091236
(9,18,54)
#081130
(8,17,48)
#07102A
(7,16,42)
#060F24
(6,15,36)
#050E1E
(5,14,30)
#040D18
(4,13,24)
#030C12
(3,12,18)
#020B0C
(2,11,12)
#000000
(0,0,0)

Tints of #0C1548

#0C1548
(12,21,72)
#222A58
(34,42,88)
#383F68
(56,63,104)
#4E5478
(78,84,120)
#646988
(100,105,136)
#7A7E98
(122,126,152)
#9093A8
(144,147,168)
#A6A8B8
(166,168,184)
#BCBDC8
(188,189,200)
#D2D2D8
(210,210,216)
#E8E7E8
(232,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1548 color. Also use rgb(12,21,72) instead hex code.

Text Font Color

.myTextColor { color: #0C1548; }

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

This text font color is #0C1548.


Background Color

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

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

This div background color is #0C1548.


Border color

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

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

This div border color is #0C1548.


Opacity

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

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

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

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

This text has shadow with #0C1548 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1548 on black background.


Color preview on white background

This text has color #0C1548 on white background.



Black color preview on #0C1548 background

This text has black color on #0C1548 background.


White color preview on #0C1548 background

This text has white color on #0C1548 background.