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