COLOR #0C1428

HEX: #0C1428
RGB: (12,20,40)

Color info

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

RGB color model

#0C1428 color RGB value is (12,20,40).

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

RGB channels and saturation

R 12 of 255 = 5%
G 20 of 255 = 8%
B 40 of 255 = 16%

12
20
40

R + G + B ~ 10%. #0C1428 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 20 + 40 = 72 (100%)
R 12 of 72 ~ 16.67%
G 20 of 72 ~ 27.78%
B 40 of 72 ~ 55.56%

%16.67
%27.78
%55.56

CMYK color model

#0C1428 color CMYK value is (70,50,0,84).

  • cyan value is 70.00%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(70,50,0,84)
C70M50Y0K84 
(70%,50%,0%,84%)
(0.70/0.50/0.00/0.84)	

CMYK percentages

%70
%50
%0
%84.31

Codes

Color #0C1428 in popluar color models

0C1428
RGB122040
HSL223°53.85%10.20%
HSB/HSV223°70.00%15.69%
CMYK70.00%50.00%0.00%
84.31%

Color #0C1428 in popluar number systems.

HEX0C1428
Decimal122040
Binary110010100101000
Octal142450

Shades and tints

Shades of #0C1428

#0C1428
(12,20,40)
#0B1325
(11,19,37)
#0A1222
(10,18,34)
#09111F
(9,17,31)
#08101C
(8,16,28)
#070F19
(7,15,25)
#060E16
(6,14,22)
#050D13
(5,13,19)
#040C10
(4,12,16)
#030B0D
(3,11,13)
#020A0A
(2,10,10)
#000000
(0,0,0)

Tints of #0C1428

#0C1428
(12,20,40)
#22293B
(34,41,59)
#383E4E
(56,62,78)
#4E5361
(78,83,97)
#646874
(100,104,116)
#7A7D87
(122,125,135)
#90929A
(144,146,154)
#A6A7AD
(166,167,173)
#BCBCC0
(188,188,192)
#D2D1D3
(210,209,211)
#E8E6E6
(232,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1428; }

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

This text font color is #0C1428.


Background Color

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

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

This div background color is #0C1428.


Border color

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

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

This div border color is #0C1428.


Opacity

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

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

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

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

This text has shadow with #0C1428 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1428 on black background.


Color preview on white background

This text has color #0C1428 on white background.



Black color preview on #0C1428 background

This text has black color on #0C1428 background.


White color preview on #0C1428 background

This text has white color on #0C1428 background.