HEX: #51B509
RGB: (81,181,9)
#51B509 contains mainly green color. Web safe color of #51B509 is #66CC00 (or #6C0).
#51B509 color RGB value is (81,181,9).
RGB: (81,181,9) (32%,71%,4%)
R 81 of 255 = 32%
G 181 of 255 = 71%
B 9 of 255 = 4%
R + G + B ~ 36%. #51B509 is quite dark color.
R + G + B =
81 + 181 + 9 = 271 (100%)
R 81 of 271 ~ 29.89%
G 181 of 271 ~ 66.79%
B 9 of 271 ~ 3.32%
#51B509 color CMYK value is (55,0,95,29).
CMYK: (55,0,95,29) C55M0Y95K29 (55%,0%,95%,29%) (0.55/0.00/0.95/0.29)
51 | B5 | 09 | |
---|---|---|---|
RGB | 81 | 181 | 9 |
HSL | 95° | 90.53% | 37.25% |
HSB/HSV | 95° | 95.03% | 70.98% |
CMYK | 55.25% | 0.00% | 95.03% |
29.02% |
HEX | 51 | B5 | 09 |
Decimal | 81 | 181 | 9 |
Binary | 1010001 | 10110101 | 1001 |
Octal | 121 | 265 | 11 |
Examples of css and html codes for elements with #51B509 color. Also use rgb(81,181,9) instead hex code.
.myTextColor { color: #51B509; }
<p style="color:#51B509">This sample text font color is #51B509.</p>
This text font color is #51B509.
.myBgColor { background-color: #51B509; }
<div style="background-color:#51B509">Inner text</div>
This div background color is #51B509.
.myBorderColor { border: 1px solid #51B509; }
<div style="border:3px solid #51B509">Div</div>
This div border color is #51B509.
.myOpacity80 { color: #51B509; opacity: 0.8; }
<p style="color:#51B509;opacity:0.8;">80%</p>
Text with #51B509 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51B509;}
<p style="text-shadow: 3px 3px 1px #51B509">Text here.</p>
This text has shadow with #51B509 color.
.textShadow {text-shadow: 3px 3px 1px #51B509, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51B509, 5px 5px 20px red">Text here.</p>
This text has shadow with #51B509 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51B509, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51B509, Direction=45, Strength=4)">Text</p>
This text has shadow with #51B509 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51B509; -webkit-box-shadow: 1px 1px 3px 2px #51B509; box-shadow: 1px 1px 3px 2px #51B509; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51B509; -webkit-box-shadow: 1px 1px 3px 2px #51B509; box-shadow:1px 1px 3px 2px #51B509;">
Div content here</div>
This text has color #51B509 on black background.
This text has color #51B509 on white background.
This text has black color on #51B509 background.
This text has white color on #51B509 background.