HEX: #51CD4F
RGB: (81,205,79)
#51CD4F contains mainly green color. Web safe color of #51CD4F is #66CC66 (or #6C6).
#51CD4F color RGB value is (81,205,79).
RGB: (81,205,79) (32%,80%,31%)
R 81 of 255 = 32%
G 205 of 255 = 80%
B 79 of 255 = 31%
R + G + B ~ 48%. #51CD4F is middle color (not dark and not light).
R + G + B =
81 + 205 + 79 = 365 (100%)
R 81 of 365 ~ 22.19%
G 205 of 365 ~ 56.16%
B 79 of 365 ~ 21.64%
#51CD4F color CMYK value is (60,0,61,20).
CMYK: (60,0,61,20) C60M0Y61K20 (60%,0%,61%,20%) (0.60/0.00/0.61/0.20)
51 | CD | 4F | |
---|---|---|---|
RGB | 81 | 205 | 79 |
HSL | 119° | 55.75% | 55.69% |
HSB/HSV | 119° | 61.46% | 80.39% |
CMYK | 60.49% | 0.00% | 61.46% |
19.61% |
HEX | 51 | CD | 4F |
Decimal | 81 | 205 | 79 |
Binary | 1010001 | 11001101 | 1001111 |
Octal | 121 | 315 | 117 |
Examples of css and html codes for elements with #51CD4F color. Also use rgb(81,205,79) instead hex code.
.myTextColor { color: #51CD4F; }
<p style="color:#51CD4F">This sample text font color is #51CD4F.</p>
This text font color is #51CD4F.
.myBgColor { background-color: #51CD4F; }
<div style="background-color:#51CD4F">Inner text</div>
This div background color is #51CD4F.
.myBorderColor { border: 1px solid #51CD4F; }
<div style="border:3px solid #51CD4F">Div</div>
This div border color is #51CD4F.
.myOpacity80 { color: #51CD4F; opacity: 0.8; }
<p style="color:#51CD4F;opacity:0.8;">80%</p>
Text with #51CD4F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51CD4F;}
<p style="text-shadow: 3px 3px 1px #51CD4F">Text here.</p>
This text has shadow with #51CD4F color.
.textShadow {text-shadow: 3px 3px 1px #51CD4F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51CD4F, 5px 5px 20px red">Text here.</p>
This text has shadow with #51CD4F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51CD4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51CD4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #51CD4F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51CD4F; -webkit-box-shadow: 1px 1px 3px 2px #51CD4F; box-shadow: 1px 1px 3px 2px #51CD4F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51CD4F; -webkit-box-shadow: 1px 1px 3px 2px #51CD4F; box-shadow:1px 1px 3px 2px #51CD4F;">
Div content here</div>
This text has color #51CD4F on black background.
This text has color #51CD4F on white background.
This text has black color on #51CD4F background.
This text has white color on #51CD4F background.