HEX: #507239
RGB: (80,114,57)
#507239 contains red, green and blue colors in about the same proportion. Web safe color of #507239 is #666633 (or #663).
#507239 color RGB value is (80,114,57).
RGB: (80,114,57) (31%,45%,22%)
R 80 of 255 = 31%
G 114 of 255 = 45%
B 57 of 255 = 22%
R + G + B ~ 33%. #507239 is quite dark color.
R + G + B =
80 + 114 + 57 = 251 (100%)
R 80 of 251 ~ 31.87%
G 114 of 251 ~ 45.42%
B 57 of 251 ~ 22.71%
#507239 color CMYK value is (30,0,50,55).
CMYK: (30,0,50,55) C30M0Y50K55 (30%,0%,50%,55%) (0.30/0.00/0.50/0.55)
50 | 72 | 39 | |
---|---|---|---|
RGB | 80 | 114 | 57 |
HSL | 96° | 33.33% | 33.53% |
HSB/HSV | 96° | 50.00% | 44.71% |
CMYK | 29.82% | 0.00% | 50.00% |
55.29% |
HEX | 50 | 72 | 39 |
Decimal | 80 | 114 | 57 |
Binary | 1010000 | 1110010 | 111001 |
Octal | 120 | 162 | 71 |
Examples of css and html codes for elements with #507239 color. Also use rgb(80,114,57) instead hex code.
.myTextColor { color: #507239; }
<p style="color:#507239">This sample text font color is #507239.</p>
This text font color is #507239.
.myBgColor { background-color: #507239; }
<div style="background-color:#507239">Inner text</div>
This div background color is #507239.
.myBorderColor { border: 1px solid #507239; }
<div style="border:3px solid #507239">Div</div>
This div border color is #507239.
.myOpacity80 { color: #507239; opacity: 0.8; }
<p style="color:#507239;opacity:0.8;">80%</p>
Text with #507239 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507239;}
<p style="text-shadow: 3px 3px 1px #507239">Text here.</p>
This text has shadow with #507239 color.
.textShadow {text-shadow: 3px 3px 1px #507239, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507239, 5px 5px 20px red">Text here.</p>
This text has shadow with #507239 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507239, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507239, Direction=45, Strength=4)">Text</p>
This text has shadow with #507239 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507239; -webkit-box-shadow: 1px 1px 3px 2px #507239; box-shadow: 1px 1px 3px 2px #507239; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507239; -webkit-box-shadow: 1px 1px 3px 2px #507239; box-shadow:1px 1px 3px 2px #507239;">
Div content here</div>
This text has color #507239 on black background.
This text has color #507239 on white background.
This text has black color on #507239 background.
This text has white color on #507239 background.