COLOR #0C0512

HEX: #0C0512 RGB: (12,5,18)

Color info

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

RGB color model

#0C0512 color RGB value is (12,5,18).

RGB: (12,5,18) (5%, 2%, 7%)

RGB channels and saturation

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

12
5
18

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

Portions of RGB colors in percentages

R + G + B = 12 + 5 + 18 = 35 (100%)
R 12 of 35 ~ 34.29%
G 5 of 35 ~ 14.29%
B 18 of 35 ~ 51.43'%

%34.29
%14.29
%51.43

CMYK color model

#0C0512 color CMYK value is (33,72,0,93).

  • cyan value is 33.33%
  • magenta value is 72.22%
  • yellow value is 0.00%
  • key color value is 92.94%
CMYK: (33,72,0,93) C33M72Y0K93 (33%,72%,0%,93%) (0.33/0.72/0.00/0.93) 

CMYK percentages

%33.33
%72.22
%0
%92.94

Codes

Color #0C0512 in popluar color models

0C 05 12
RGB 12 5 18
HSL 272° 56.52% 4.51%
HSB/HSV 272° 72.22% 7.06%
CMYK 33.33% 72.22% 0.00%
92.94%

Color #0C0512 in popluar number systems.

HEX 0C 05 12
Decimal 12 5 18
Binary 1100 101 10010
Octal 14 5 22

Shades and tints

Shades of #0C0512

#0C0512
(12,5,18)
#0B0511
(11,5,17)
#0A0510
(10,5,16)
#09050F
(9,5,15)
#08050E
(8,5,14)
#07050D
(7,5,13)
#06050C
(6,5,12)
#05050B
(5,5,11)
#04050A
(4,5,10)
#030509
(3,5,9)
#020508
(2,5,8)
#000000
(0,0,0)

Tints of #0C0512

#0C0512
(12,5,18)
#221B27
(34,27,39)
#38313C
(56,49,60)
#4E4751
(78,71,81)
#645D66
(100,93,102)
#7A737B
(122,115,123)
#908990
(144,137,144)
#A69FA5
(166,159,165)
#BCB5BA
(188,181,186)
#D2CBCF
(210,203,207)
#E8E1E4
(232,225,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #0C0512; }

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

This text font color is #0C0512.

Background Color

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

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

This div background color is #0C0512.

Border color

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

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

This div border color is #0C0512.

Opacity

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

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

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

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

This text has shadow with #0C0512 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #0C0512.

Preview

Color preview on black background

This text has color #0C0512 on black background.


Color preview on white background

This text has color #0C0512 on white background.


Black color preview on #0C0512 background

This text has black color on #0C0512 background.


White color preview on #0C0512 background

This text has white color on #0C0512 background.


Related colors

Complementary color

Complementary color for #hex is #F3FAED.


I love getcolorcode.com

Triadic colors

1 #120C05 and #05120C with #0C0512 are triadic colors.

2 #12050C and #050C12 with #0C0512 are triadic colors.