HEX: #507454
RGB: (80,116,84)
#507454 contains red, green and blue colors in about the same proportion. Web safe color of #507454 is #666666 (or #666).
#507454 color RGB value is (80,116,84).
RGB: (80,116,84) (31%,45%,33%)
R 80 of 255 = 31%
G 116 of 255 = 45%
B 84 of 255 = 33%
R + G + B ~ 36%. #507454 is quite dark color.
R + G + B =
80 + 116 + 84 = 280 (100%)
R 80 of 280 ~ 28.57%
G 116 of 280 ~ 41.43%
B 84 of 280 ~ 30%
#507454 color CMYK value is (31,0,28,55).
CMYK: (31,0,28,55) C31M0Y28K55 (31%,0%,28%,55%) (0.31/0.00/0.28/0.55)
50 | 74 | 54 | |
---|---|---|---|
RGB | 80 | 116 | 84 |
HSL | 127° | 18.37% | 38.43% |
HSB/HSV | 127° | 31.03% | 45.49% |
CMYK | 31.03% | 0.00% | 27.59% |
54.51% |
HEX | 50 | 74 | 54 |
Decimal | 80 | 116 | 84 |
Binary | 1010000 | 1110100 | 1010100 |
Octal | 120 | 164 | 124 |
Examples of css and html codes for elements with #507454 color. Also use rgb(80,116,84) instead hex code.
.myTextColor { color: #507454; }
<p style="color:#507454">This sample text font color is #507454.</p>
This text font color is #507454.
.myBgColor { background-color: #507454; }
<div style="background-color:#507454">Inner text</div>
This div background color is #507454.
.myBorderColor { border: 1px solid #507454; }
<div style="border:3px solid #507454">Div</div>
This div border color is #507454.
.myOpacity80 { color: #507454; opacity: 0.8; }
<p style="color:#507454;opacity:0.8;">80%</p>
Text with #507454 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507454;}
<p style="text-shadow: 3px 3px 1px #507454">Text here.</p>
This text has shadow with #507454 color.
.textShadow {text-shadow: 3px 3px 1px #507454, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507454, 5px 5px 20px red">Text here.</p>
This text has shadow with #507454 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507454, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507454, Direction=45, Strength=4)">Text</p>
This text has shadow with #507454 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507454; -webkit-box-shadow: 1px 1px 3px 2px #507454; box-shadow: 1px 1px 3px 2px #507454; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507454; -webkit-box-shadow: 1px 1px 3px 2px #507454; box-shadow:1px 1px 3px 2px #507454;">
Div content here</div>
This text has color #507454 on black background.
This text has color #507454 on white background.
This text has black color on #507454 background.
This text has white color on #507454 background.