HEX: #51AD8B
RGB: (81,173,139)
#51AD8B contains mainly green and blue colors. Web safe color of #51AD8B is #669999 (or #699).
#51AD8B color RGB value is (81,173,139).
RGB: (81,173,139) (32%,68%,55%)
R 81 of 255 = 32%
G 173 of 255 = 68%
B 139 of 255 = 55%
R + G + B ~ 52%. #51AD8B is middle color (not dark and not light).
R + G + B =
81 + 173 + 139 = 393 (100%)
R 81 of 393 ~ 20.61%
G 173 of 393 ~ 44.02%
B 139 of 393 ~ 35.37%
#51AD8B color CMYK value is (53,0,20,32).
CMYK: (53,0,20,32) C53M0Y20K32 (53%,0%,20%,32%) (0.53/0.00/0.20/0.32)
51 | AD | 8B | |
---|---|---|---|
RGB | 81 | 173 | 139 |
HSL | 158° | 36.22% | 49.80% |
HSB/HSV | 158° | 53.18% | 67.84% |
CMYK | 53.18% | 0.00% | 19.65% |
32.16% |
HEX | 51 | AD | 8B |
Decimal | 81 | 173 | 139 |
Binary | 1010001 | 10101101 | 10001011 |
Octal | 121 | 255 | 213 |
Examples of css and html codes for elements with #51AD8B color. Also use rgb(81,173,139) instead hex code.
.myTextColor { color: #51AD8B; }
<p style="color:#51AD8B">This sample text font color is #51AD8B.</p>
This text font color is #51AD8B.
.myBgColor { background-color: #51AD8B; }
<div style="background-color:#51AD8B">Inner text</div>
This div background color is #51AD8B.
.myBorderColor { border: 1px solid #51AD8B; }
<div style="border:3px solid #51AD8B">Div</div>
This div border color is #51AD8B.
.myOpacity80 { color: #51AD8B; opacity: 0.8; }
<p style="color:#51AD8B;opacity:0.8;">80%</p>
Text with #51AD8B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51AD8B;}
<p style="text-shadow: 3px 3px 1px #51AD8B">Text here.</p>
This text has shadow with #51AD8B color.
.textShadow {text-shadow: 3px 3px 1px #51AD8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51AD8B, 5px 5px 20px red">Text here.</p>
This text has shadow with #51AD8B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51AD8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51AD8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #51AD8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51AD8B; -webkit-box-shadow: 1px 1px 3px 2px #51AD8B; box-shadow: 1px 1px 3px 2px #51AD8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51AD8B; -webkit-box-shadow: 1px 1px 3px 2px #51AD8B; box-shadow:1px 1px 3px 2px #51AD8B;">
Div content here</div>
This text has color #51AD8B on black background.
This text has color #51AD8B on white background.
This text has black color on #51AD8B background.
This text has white color on #51AD8B background.