COLOR #0C040C

HEX: #0C040C RGB: (12,4,12)

Color info

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

RGB color model

#0C040C color RGB value is (12,4,12).

RGB: (12,4,12) (5%, 2%, 5%)

RGB channels and saturation

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

12
4
12

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

Portions of RGB colors in percentages

R + G + B = 12 + 4 + 12 = 28 (100%)
R 12 of 28 ~ 42.86%
G 4 of 28 ~ 14.29%
B 12 of 28 ~ 42.86'%

%42.86
%14.29
%42.86

CMYK color model

#0C040C color CMYK value is (0,67,0,95).

  • cyan value is 0.00%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 95.29%

CMYK: (0,67,0,95)
C0M67Y0K95 (0%, 67%, 0%, 95%)
(0.00 / 0.67 / 0.00 / 0.95)

CMYK percentages

%0
%66.67
%0
%95.29

Codes

Color #0C040C in popluar color models

0C 04 0C
RGB 12 4 12
HSL 300° 50.00% 3.14%
HSB/HSV 300° 66.67% 4.71%
CMYK 0.00% 66.67% 0.00%
95.29%

Color #0C040C in popluar number systems.

HEX 0C 04 0C
Decimal 12 4 12
Binary 1100 100 1100
Octal 14 4 14

Shades and tints

Shades of #0C040C

#0C040C
(12,4,12)
#0B040B
(11,4,11)
#0A040A
(10,4,10)
#090409
(9,4,9)
#080408
(8,4,8)
#070407
(7,4,7)
#060406
(6,4,6)
#050405
(5,4,5)
#040404
(4,4,4)
#030403
(3,4,3)
#020402
(2,4,2)
#000000
(0,0,0)

Tints of #0C040C

#0C040C
(12,4,12)
#221A22
(34,26,34)
#383038
(56,48,56)
#4E464E
(78,70,78)
#645C64
(100,92,100)
#7A727A
(122,114,122)
#908890
(144,136,144)
#A69EA6
(166,158,166)
#BCB4BC
(188,180,188)
#D2CAD2
(210,202,210)
#E8E0E8
(232,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C040C; }

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

This text font color is #0C040C.

Background Color

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

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

This div background color is #0C040C.

Border color

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

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

This div border color is #0C040C.

Opacity

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

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

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

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

This text has shadow with #0C040C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C040C.

Preview

Color preview on black background

This text has color #0C040C on black background.


Color preview on white background

This text has color #0C040C on white background.


Black color preview on #0C040C background

This text has black color on #0C040C background.


White color preview on #0C040C background

This text has white color on #0C040C background.


Related colors

Complementary color

Complementary color for #hex is #F3FBF3.


I love getcolorcode.com

Triadic colors

1 #0C0C04 and #040C0C with #0C040C are triadic colors.

2 #0C040C and #040C0C with #0C040C are triadic colors.