COLOR #0C0412

HEX: #0C0412
RGB: (12,4,18)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

12
4
18

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

Portions of RGB colors in percentages

R + G + B =
12 + 4 + 18 = 34 (100%)
R 12 of 34 ~ 35.29%
G 4 of 34 ~ 11.76%
B 18 of 34 ~ 52.94%

%35.29
%11.76
%52.94

CMYK color model

#0C0412 color CMYK value is (33,78,0,93).

  • cyan value is 33.33%
  • magenta value is 77.78%
  • yellow value is 0.00%
  • key color value is 92.94%
CMYK:
(33,78,0,93)
C33M78Y0K93 
(33%,78%,0%,93%)
(0.33/0.78/0.00/0.93)	

CMYK percentages

%33.33
%77.78
%0
%92.94

Codes

Color #0C0412 in popluar color models

0C0412
RGB12418
HSL274°63.64%4.31%
HSB/HSV274°77.78%7.06%
CMYK33.33%77.78%0.00%
92.94%

Color #0C0412 in popluar number systems.

HEX0C0412
Decimal12418
Binary110010010010
Octal14422

Shades and tints

Shades of #0C0412

#0C0412
(12,4,18)
#0B0411
(11,4,17)
#0A0410
(10,4,16)
#09040F
(9,4,15)
#08040E
(8,4,14)
#07040D
(7,4,13)
#06040C
(6,4,12)
#05040B
(5,4,11)
#04040A
(4,4,10)
#030409
(3,4,9)
#020408
(2,4,8)
#000000
(0,0,0)

Tints of #0C0412

#0C0412
(12,4,18)
#221A27
(34,26,39)
#38303C
(56,48,60)
#4E4651
(78,70,81)
#645C66
(100,92,102)
#7A727B
(122,114,123)
#908890
(144,136,144)
#A69EA5
(166,158,165)
#BCB4BA
(188,180,186)
#D2CACF
(210,202,207)
#E8E0E4
(232,224,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0412; }

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

This text font color is #0C0412.


Background Color

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

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

This div background color is #0C0412.


Border color

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

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

This div border color is #0C0412.


Opacity

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

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

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

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

This text has shadow with #0C0412 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0C0412 on black background.


Color preview on white background

This text has color #0C0412 on white background.



Black color preview on #0C0412 background

This text has black color on #0C0412 background.


White color preview on #0C0412 background

This text has white color on #0C0412 background.