HEX: #51725B
RGB: (81,114,91)
#51725B contains red, green and blue colors in about the same proportion. Web safe color of #51725B is #666666 (or #666).
#51725B color RGB value is (81,114,91).
RGB: (81,114,91) (32%,45%,36%)
R 81 of 255 = 32%
G 114 of 255 = 45%
B 91 of 255 = 36%
R + G + B ~ 38%. #51725B is quite dark color.
R + G + B =
81 + 114 + 91 = 286 (100%)
R 81 of 286 ~ 28.32%
G 114 of 286 ~ 39.86%
B 91 of 286 ~ 31.82%
#51725B color CMYK value is (29,0,20,55).
CMYK: (29,0,20,55) C29M0Y20K55 (29%,0%,20%,55%) (0.29/0.00/0.20/0.55)
51 | 72 | 5B | |
---|---|---|---|
RGB | 81 | 114 | 91 |
HSL | 138° | 16.92% | 38.24% |
HSB/HSV | 138° | 28.95% | 44.71% |
CMYK | 28.95% | 0.00% | 20.18% |
55.29% |
HEX | 51 | 72 | 5B |
Decimal | 81 | 114 | 91 |
Binary | 1010001 | 1110010 | 1011011 |
Octal | 121 | 162 | 133 |
Examples of css and html codes for elements with #51725B color. Also use rgb(81,114,91) instead hex code.
.myTextColor { color: #51725B; }
<p style="color:#51725B">This sample text font color is #51725B.</p>
This text font color is #51725B.
.myBgColor { background-color: #51725B; }
<div style="background-color:#51725B">Inner text</div>
This div background color is #51725B.
.myBorderColor { border: 1px solid #51725B; }
<div style="border:3px solid #51725B">Div</div>
This div border color is #51725B.
.myOpacity80 { color: #51725B; opacity: 0.8; }
<p style="color:#51725B;opacity:0.8;">80%</p>
Text with #51725B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51725B;}
<p style="text-shadow: 3px 3px 1px #51725B">Text here.</p>
This text has shadow with #51725B color.
.textShadow {text-shadow: 3px 3px 1px #51725B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51725B, 5px 5px 20px red">Text here.</p>
This text has shadow with #51725B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51725B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51725B, Direction=45, Strength=4)">Text</p>
This text has shadow with #51725B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51725B; -webkit-box-shadow: 1px 1px 3px 2px #51725B; box-shadow: 1px 1px 3px 2px #51725B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51725B; -webkit-box-shadow: 1px 1px 3px 2px #51725B; box-shadow:1px 1px 3px 2px #51725B;">
Div content here</div>
This text has color #51725B on black background.
This text has color #51725B on white background.
This text has black color on #51725B background.
This text has white color on #51725B background.