COLOR #0C040A

HEX: #0C040A
RGB: (12,4,10)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

12
4
10

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

Portions of RGB colors in percentages

R + G + B =
12 + 4 + 10 = 26 (100%)
R 12 of 26 ~ 46.15%
G 4 of 26 ~ 15.38%
B 10 of 26 ~ 38.46%

%46.15
%15.38
%38.46

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 66.67%
  • yellow value is 16.67%
  • key color value is 95.29%
CMYK:
(0,67,17,95)
C0M67Y17K95 
(0%,67%,17%,95%)
(0.00/0.67/0.17/0.95)	

CMYK percentages

%0
%66.67
%16.67
%95.29

Codes

Color #0C040A in popluar color models

0C040A
RGB12410
HSL315°50.00%3.14%
HSB/HSV315°66.67%4.71%
CMYK0.00%66.67%16.67%
95.29%

Color #0C040A in popluar number systems.

HEX0C040A
Decimal12410
Binary11001001010
Octal14412

Shades and tints

Shades of #0C040A

#0C040A
(12,4,10)
#0B040A
(11,4,10)
#0A040A
(10,4,10)
#09040A
(9,4,10)
#08040A
(8,4,10)
#07040A
(7,4,10)
#06040A
(6,4,10)
#05040A
(5,4,10)
#04040A
(4,4,10)
#03040A
(3,4,10)
#02040A
(2,4,10)
#000000
(0,0,0)

Tints of #0C040A

#0C040A
(12,4,10)
#221A20
(34,26,32)
#383036
(56,48,54)
#4E464C
(78,70,76)
#645C62
(100,92,98)
#7A7278
(122,114,120)
#90888E
(144,136,142)
#A69EA4
(166,158,164)
#BCB4BA
(188,180,186)
#D2CAD0
(210,202,208)
#E8E0E6
(232,224,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C040A; }

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

This text font color is #0C040A.


Background Color

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

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

This div background color is #0C040A.


Border color

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

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

This div border color is #0C040A.


Opacity

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

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

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

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

This text has shadow with #0C040A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C040A on black background.


Color preview on white background

This text has color #0C040A on white background.



Black color preview on #0C040A background

This text has black color on #0C040A background.


White color preview on #0C040A background

This text has white color on #0C040A background.