HEX: #0C050A
RGB: (12,5,10)
#0C050A contains red, green and blue colors in about the same proportion. Web safe color of #0C050A is #000000 (or #000).
#0C050A color RGB value is (12,5,10).
RGB: (12,5,10) (5%,2%,4%)
R 12 of 255 = 5%
G 5 of 255 = 2%
B 10 of 255 = 4%
R + G + B ~ 4%. #0C050A is dark color.
R + G + B =
12 + 5 + 10 = 27 (100%)
R 12 of 27 ~ 44.44%
G 5 of 27 ~ 18.52%
B 10 of 27 ~ 37.04%
#0C050A color CMYK value is (0,58,17,95).
CMYK: (0,58,17,95) C0M58Y17K95 (0%,58%,17%,95%) (0.00/0.58/0.17/0.95)
0C | 05 | 0A | |
---|---|---|---|
RGB | 12 | 5 | 10 |
HSL | 317° | 41.18% | 3.33% |
HSB/HSV | 317° | 58.33% | 4.71% |
CMYK | 0.00% | 58.33% | 16.67% |
95.29% |
HEX | 0C | 05 | 0A |
Decimal | 12 | 5 | 10 |
Binary | 1100 | 101 | 1010 |
Octal | 14 | 5 | 12 |
Examples of css and html codes for elements with #0C050A color. Also use rgb(12,5,10) instead hex code.
.myTextColor { color: #0C050A; }
<p style="color:#0C050A">This sample text font color is #0C050A.</p>
This text font color is #0C050A.
.myBgColor { background-color: #0C050A; }
<div style="background-color:#0C050A">Inner text</div>
This div background color is #0C050A.
.myBorderColor { border: 1px solid #0C050A; }
<div style="border:3px solid #0C050A">Div</div>
This div border color is #0C050A.
.myOpacity80 { color: #0C050A; opacity: 0.8; }
<p style="color:#0C050A;opacity:0.8;">80%</p>
Text with #0C050A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C050A;}
<p style="text-shadow: 3px 3px 1px #0C050A">Text here.</p>
This text has shadow with #0C050A color.
.textShadow {text-shadow: 3px 3px 1px #0C050A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C050A, 5px 5px 20px red">Text here.</p>
This text has shadow with #0C050A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C050A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C050A, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C050A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C050A; -webkit-box-shadow: 1px 1px 3px 2px #0C050A; box-shadow: 1px 1px 3px 2px #0C050A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C050A; -webkit-box-shadow: 1px 1px 3px 2px #0C050A; box-shadow:1px 1px 3px 2px #0C050A;">
Div content here</div>
This text has color #0C050A on black background.
This text has color #0C050A on white background.
This text has black color on #0C050A background.
This text has white color on #0C050A background.