COLOR #0C1200

HEX: #0C1200
RGB: (12,18,0)

Color info

#0C1200 contains only red and green colors. Web safe color of #0C1200 is #000000 (or #000).

RGB color model

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

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

RGB channels and saturation

R 12 of 255 = 5%
G 18 of 255 = 7%
B 0 of 255 = 0%

12
18
0

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

Portions of RGB colors in percentages

R + G + B =
12 + 18 + 0 = 30 (100%)
R 12 of 30 ~ 40%
G 18 of 30 ~ 60%
B 0 of 30 ~ 0%

%40
%60

CMYK color model

#0C1200 color CMYK value is (33,0,100,93).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 100.00%
  • key color value is 92.94%
CMYK:
(33,0,100,93)
C33M0Y100K93 
(33%,0%,100%,93%)
(0.33/0.00/1.00/0.93)	

CMYK percentages

%33.33
%0
%100
%92.94

Codes

Color #0C1200 in popluar color models

0C1200
RGB12180
HSL80°100.00%3.53%
HSB/HSV80°100.00%7.06%
CMYK33.33%0.00%100.00%
92.94%

Color #0C1200 in popluar number systems.

HEX0C1200
Decimal12180
Binary1100100100
Octal14220

Shades and tints

Shades of #0C1200

#0C1200
(12,18,0)
#0B1100
(11,17,0)
#0A1000
(10,16,0)
#090F00
(9,15,0)
#080E00
(8,14,0)
#070D00
(7,13,0)
#060C00
(6,12,0)
#050B00
(5,11,0)
#040A00
(4,10,0)
#030900
(3,9,0)
#020800
(2,8,0)
#000000
(0,0,0)

Tints of #0C1200

#0C1200
(12,18,0)
#222717
(34,39,23)
#383C2E
(56,60,46)
#4E5145
(78,81,69)
#64665C
(100,102,92)
#7A7B73
(122,123,115)
#90908A
(144,144,138)
#A6A5A1
(166,165,161)
#BCBAB8
(188,186,184)
#D2CFCF
(210,207,207)
#E8E4E6
(232,228,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C1200; }

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

This text font color is #0C1200.


Background Color

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

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

This div background color is #0C1200.


Border color

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

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

This div border color is #0C1200.


Opacity

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

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

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

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

This text has shadow with #0C1200 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C1200 on black background.


Color preview on white background

This text has color #0C1200 on white background.



Black color preview on #0C1200 background

This text has black color on #0C1200 background.


White color preview on #0C1200 background

This text has white color on #0C1200 background.