HEX: #056509
RGB: (5,101,9)
#056509 contains mainly green color. Web safe color of #056509 is #006600 (or #060).
#056509 color RGB value is (5,101,9).
RGB: (5,101,9) (2%,40%,4%)
R 5 of 255 = 2%
G 101 of 255 = 40%
B 9 of 255 = 4%
R + G + B ~ 15%. #056509 is dark color.
R + G + B =
5 + 101 + 9 = 115 (100%)
R 5 of 115 ~ 4.35%
G 101 of 115 ~ 87.83%
B 9 of 115 ~ 7.83%
#056509 color CMYK value is (95,0,91,60).
CMYK: (95,0,91,60) C95M0Y91K60 (95%,0%,91%,60%) (0.95/0.00/0.91/0.60)
05 | 65 | 09 | |
---|---|---|---|
RGB | 5 | 101 | 9 |
HSL | 123° | 90.57% | 20.78% |
HSB/HSV | 123° | 95.05% | 39.61% |
CMYK | 95.05% | 0.00% | 91.09% |
60.39% |
HEX | 05 | 65 | 09 |
Decimal | 5 | 101 | 9 |
Binary | 101 | 1100101 | 1001 |
Octal | 5 | 145 | 11 |
Examples of css and html codes for elements with #056509 color. Also use rgb(5,101,9) instead hex code.
.myTextColor { color: #056509; }
<p style="color:#056509">This sample text font color is #056509.</p>
This text font color is #056509.
.myBgColor { background-color: #056509; }
<div style="background-color:#056509">Inner text</div>
This div background color is #056509.
.myBorderColor { border: 1px solid #056509; }
<div style="border:3px solid #056509">Div</div>
This div border color is #056509.
.myOpacity80 { color: #056509; opacity: 0.8; }
<p style="color:#056509;opacity:0.8;">80%</p>
Text with #056509 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #056509;}
<p style="text-shadow: 3px 3px 1px #056509">Text here.</p>
This text has shadow with #056509 color.
.textShadow {text-shadow: 3px 3px 1px #056509, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #056509, 5px 5px 20px red">Text here.</p>
This text has shadow with #056509 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#056509, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#056509, Direction=45, Strength=4)">Text</p>
This text has shadow with #056509 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #056509; -webkit-box-shadow: 1px 1px 3px 2px #056509; box-shadow: 1px 1px 3px 2px #056509; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #056509; -webkit-box-shadow: 1px 1px 3px 2px #056509; box-shadow:1px 1px 3px 2px #056509;">
Div content here</div>
This text has color #056509 on black background.
This text has color #056509 on white background.
This text has black color on #056509 background.
This text has white color on #056509 background.