COLOR #0C1202

HEX: #0C1202
RGB: (12,18,2)

Color info

#0C1202 contains red, green and blue colors in about the same proportion. Web safe color of #0C1202 is #000000 (or #000).

RGB color model

#0C1202 color RGB value is (12,18,2).

  • red value is 12;
  • green value is 18;
  • blue value is 2.
RGB:
(12,18,2)
(5%,7%,1%)

RGB channels and saturation

R 12 of 255 = 5%
G 18 of 255 = 7%
B 2 of 255 = 1%

12
18
2

R + G + B ~ 4%. #0C1202 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 18 + 2 = 32 (100%)
R 12 of 32 ~ 37.5%
G 18 of 32 ~ 56.25%
B 2 of 32 ~ 6.25%

%37.5
%56.25

CMYK color model

#0C1202 color CMYK value is (33,0,89,93).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 88.89%
  • key color value is 92.94%
CMYK:
(33,0,89,93)
C33M0Y89K93 
(33%,0%,89%,93%)
(0.33/0.00/0.89/0.93)	

CMYK percentages

%33.33
%0
%88.89
%92.94

Codes

Color #0C1202 in popluar color models

0C1202
RGB12182
HSL83°80.00%3.92%
HSB/HSV83°88.89%7.06%
CMYK33.33%0.00%88.89%
92.94%

Color #0C1202 in popluar number systems.

HEX0C1202
Decimal12182
Binary11001001010
Octal14222

Shades and tints

Shades of #0C1202

#0C1202
(12,18,2)
#0B1102
(11,17,2)
#0A1002
(10,16,2)
#090F02
(9,15,2)
#080E02
(8,14,2)
#070D02
(7,13,2)
#060C02
(6,12,2)
#050B02
(5,11,2)
#040A02
(4,10,2)
#030902
(3,9,2)
#020802
(2,8,2)
#000000
(0,0,0)

Tints of #0C1202

#0C1202
(12,18,2)
#222719
(34,39,25)
#383C30
(56,60,48)
#4E5147
(78,81,71)
#64665E
(100,102,94)
#7A7B75
(122,123,117)
#90908C
(144,144,140)
#A6A5A3
(166,165,163)
#BCBABA
(188,186,186)
#D2CFD1
(210,207,209)
#E8E4E8
(232,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0C1202 color. Also use rgb(12,18,2) instead hex code.

Text Font Color

.myTextColor { color: #0C1202; }

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

This text font color is #0C1202.


Background Color

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

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

This div background color is #0C1202.


Border color

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

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

This div border color is #0C1202.


Opacity

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

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

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

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

This text has shadow with #0C1202 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1202 on black background.


Color preview on white background

This text has color #0C1202 on white background.



Black color preview on #0C1202 background

This text has black color on #0C1202 background.


White color preview on #0C1202 background

This text has white color on #0C1202 background.