COLOR #0C0000

HEX: #0C0000
RGB: (12,0,0)

Color info

#0C0000 contains only red color. Web safe color of #0C0000 is #000000 (or #000).

RGB color model

#0C0000 color RGB value is (12,0,0).

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

RGB channels and saturation

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

12
0
0

R + G + B ~ 2%. #0C0000 is dark color.

Portions of RGB colors in percentages

R + G + B =
12 + 0 + 0 = 12 (100%)
R 12 of 12 ~ 100%
G 0 of 12 ~ 0%
B 0 of 12 ~ 0%

%100

CMYK color model

#0C0000 color CMYK value is (0,100,100,95).

  • cyan value is 0.00%
  • magenta value is 100.00%
  • yellow value is 100.00%
  • key color value is 95.29%
CMYK:
(0,100,100,95)
C0M100Y100K95 
(0%,100%,100%,95%)
(0.00/1.00/1.00/0.95)	

CMYK percentages

%0
%100
%100
%95.29

Codes

Color #0C0000 in popluar color models

0C0000
RGB1200
HSL100.00%2.35%
HSB/HSV100.00%4.71%
CMYK0.00%100.00%100.00%
95.29%

Color #0C0000 in popluar number systems.

HEX0C0000
Decimal1200
Binary110000
Octal1400

Shades and tints

Shades of #0C0000

#0C0000
(12,0,0)
#0B0000
(11,0,0)
#0A0000
(10,0,0)
#090000
(9,0,0)
#080000
(8,0,0)
#070000
(7,0,0)
#060000
(6,0,0)
#050000
(5,0,0)
#040000
(4,0,0)
#030000
(3,0,0)
#020000
(2,0,0)
#000000
(0,0,0)

Tints of #0C0000

#0C0000
(12,0,0)
#221717
(34,23,23)
#382E2E
(56,46,46)
#4E4545
(78,69,69)
#645C5C
(100,92,92)
#7A7373
(122,115,115)
#908A8A
(144,138,138)
#A6A1A1
(166,161,161)
#BCB8B8
(188,184,184)
#D2CFCF
(210,207,207)
#E8E6E6
(232,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0000; }

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

This text font color is #0C0000.


Background Color

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

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

This div background color is #0C0000.


Border color

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

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

This div border color is #0C0000.


Opacity

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

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

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

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

This text has shadow with #0C0000 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0000 on black background.


Color preview on white background

This text has color #0C0000 on white background.



Black color preview on #0C0000 background

This text has black color on #0C0000 background.


White color preview on #0C0000 background

This text has white color on #0C0000 background.