COLOR #0C0C0C

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

Color info

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

RGB color model

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

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

RGB channels and saturation

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

12
12
12

R + G + B ~ 5%. #0C0C0C is dark color.

Portions of RGB colors in percentages

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

%33.33
%33.33
%33.33

CMYK color model

#0C0C0C color CMYK value is (0,0,0,95).

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

CMYK percentages

%0
%0
%0
%95.29

Codes

Color #0C0C0C in popluar color models

0C0C0C
RGB121212
HSL0.00%0.05%
HSB/HSV0.00%0.05%
CMYK0.00%0.00%0.00%
95.29%

Color #0C0C0C in popluar number systems.

HEX0C0C0C
Decimal121212
Binary110011001100
Octal141414

Shades and tints

Shades of #0C0C0C

#0C0C0C
(12,12,12)
#0B0B0B
(11,11,11)
#0A0A0A
(10,10,10)
#090909
(9,9,9)
#080808
(8,8,8)
#070707
(7,7,7)
#060606
(6,6,6)
#050505
(5,5,5)
#040404
(4,4,4)
#030303
(3,3,3)
#020202
(2,2,2)
#000000
(0,0,0)

Tints of #0C0C0C

#0C0C0C
(12,12,12)
#222222
(34,34,34)
#383838
(56,56,56)
#4E4E4E
(78,78,78)
#646464
(100,100,100)
#7A7A7A
(122,122,122)
#909090
(144,144,144)
#A6A6A6
(166,166,166)
#BCBCBC
(188,188,188)
#D2D2D2
(210,210,210)
#E8E8E8
(232,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0C0C; }

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

This text font color is #0C0C0C.


Background Color

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

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

This div background color is #0C0C0C.


Border color

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

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

This div border color is #0C0C0C.


Opacity

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

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

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

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

This text has shadow with #0C0C0C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0C0C on black background.


Color preview on white background

This text has color #0C0C0C on white background.



Black color preview on #0C0C0C background

This text has black color on #0C0C0C background.


White color preview on #0C0C0C background

This text has white color on #0C0C0C background.