HEX: #507952
RGB: (80,121,82)
#507952 contains red, green and blue colors in about the same proportion. Web safe color of #507952 is #666666 (or #666).
#507952 color RGB value is (80,121,82).
RGB: (80,121,82) (31%,47%,32%)
R 80 of 255 = 31%
G 121 of 255 = 47%
B 82 of 255 = 32%
R + G + B ~ 37%. #507952 is quite dark color.
R + G + B =
80 + 121 + 82 = 283 (100%)
R 80 of 283 ~ 28.27%
G 121 of 283 ~ 42.76%
B 82 of 283 ~ 28.98%
#507952 color CMYK value is (34,0,32,53).
CMYK: (34,0,32,53) C34M0Y32K53 (34%,0%,32%,53%) (0.34/0.00/0.32/0.53)
50 | 79 | 52 | |
---|---|---|---|
RGB | 80 | 121 | 82 |
HSL | 123° | 20.40% | 39.41% |
HSB/HSV | 123° | 33.88% | 47.45% |
CMYK | 33.88% | 0.00% | 32.23% |
52.55% |
HEX | 50 | 79 | 52 |
Decimal | 80 | 121 | 82 |
Binary | 1010000 | 1111001 | 1010010 |
Octal | 120 | 171 | 122 |
Examples of css and html codes for elements with #507952 color. Also use rgb(80,121,82) instead hex code.
.myTextColor { color: #507952; }
<p style="color:#507952">This sample text font color is #507952.</p>
This text font color is #507952.
.myBgColor { background-color: #507952; }
<div style="background-color:#507952">Inner text</div>
This div background color is #507952.
.myBorderColor { border: 1px solid #507952; }
<div style="border:3px solid #507952">Div</div>
This div border color is #507952.
.myOpacity80 { color: #507952; opacity: 0.8; }
<p style="color:#507952;opacity:0.8;">80%</p>
Text with #507952 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507952;}
<p style="text-shadow: 3px 3px 1px #507952">Text here.</p>
This text has shadow with #507952 color.
.textShadow {text-shadow: 3px 3px 1px #507952, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507952, 5px 5px 20px red">Text here.</p>
This text has shadow with #507952 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507952, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507952, Direction=45, Strength=4)">Text</p>
This text has shadow with #507952 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507952; -webkit-box-shadow: 1px 1px 3px 2px #507952; box-shadow: 1px 1px 3px 2px #507952; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507952; -webkit-box-shadow: 1px 1px 3px 2px #507952; box-shadow:1px 1px 3px 2px #507952;">
Div content here</div>
This text has color #507952 on black background.
This text has color #507952 on white background.
This text has black color on #507952 background.
This text has white color on #507952 background.