COLOR #0C1328

HEX: #0C1328
RGB: (12,19,40)

Color info

#0C1328 contains red, green and blue colors in about the same proportion. Web safe color of #0C1328 is #000033 (or #003).

RGB color model

#0C1328 color RGB value is (12,19,40).

  • red value is 12;
  • green value is 19;
  • blue value is 40.
RGB:
(12,19,40)
(5%,7%,16%)

RGB channels and saturation

R 12 of 255 = 5%
G 19 of 255 = 7%
B 40 of 255 = 16%

12
19
40

R + G + B ~ 9%. #0C1328 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 19 + 40 = 71 (100%)
R 12 of 71 ~ 16.9%
G 19 of 71 ~ 26.76%
B 40 of 71 ~ 56.34%

%16.9
%26.76
%56.34

CMYK color model

#0C1328 color CMYK value is (70,53,0,84).

  • cyan value is 70.00%
  • magenta value is 52.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(70,53,0,84)
C70M53Y0K84 
(70%,53%,0%,84%)
(0.70/0.53/0.00/0.84)	

CMYK percentages

%70
%52.5
%0
%84.31

Codes

Color #0C1328 in popluar color models

0C1328
RGB121940
HSL225°53.85%10.20%
HSB/HSV225°70.00%15.69%
CMYK70.00%52.50%0.00%
84.31%

Color #0C1328 in popluar number systems.

HEX0C1328
Decimal121940
Binary110010011101000
Octal142350

Shades and tints

Shades of #0C1328

#0C1328
(12,19,40)
#0B1225
(11,18,37)
#0A1122
(10,17,34)
#09101F
(9,16,31)
#080F1C
(8,15,28)
#070E19
(7,14,25)
#060D16
(6,13,22)
#050C13
(5,12,19)
#040B10
(4,11,16)
#030A0D
(3,10,13)
#02090A
(2,9,10)
#000000
(0,0,0)

Tints of #0C1328

#0C1328
(12,19,40)
#22283B
(34,40,59)
#383D4E
(56,61,78)
#4E5261
(78,82,97)
#646774
(100,103,116)
#7A7C87
(122,124,135)
#90919A
(144,145,154)
#A6A6AD
(166,166,173)
#BCBBC0
(188,187,192)
#D2D0D3
(210,208,211)
#E8E5E6
(232,229,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1328 color. Also use rgb(12,19,40) instead hex code.

Text Font Color

.myTextColor { color: #0C1328; }

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

This text font color is #0C1328.


Background Color

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

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

This div background color is #0C1328.


Border color

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

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

This div border color is #0C1328.


Opacity

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

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

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

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

This text has shadow with #0C1328 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1328 on black background.


Color preview on white background

This text has color #0C1328 on white background.



Black color preview on #0C1328 background

This text has black color on #0C1328 background.


White color preview on #0C1328 background

This text has white color on #0C1328 background.