HEX: #487E3E
RGB: (72,126,62)
#487E3E contains mainly red and green colors. Web safe color of #487E3E is #336633 (or #363).
#487E3E color RGB value is (72,126,62).
RGB: (72,126,62) (28%,49%,24%)
R 72 of 255 = 28%
G 126 of 255 = 49%
B 62 of 255 = 24%
R + G + B ~ 34%. #487E3E is quite dark color.
R + G + B =
72 + 126 + 62 = 260 (100%)
R 72 of 260 ~ 27.69%
G 126 of 260 ~ 48.46%
B 62 of 260 ~ 23.85%
#487E3E color CMYK value is (43,0,51,51).
CMYK: (43,0,51,51) C43M0Y51K51 (43%,0%,51%,51%) (0.43/0.00/0.51/0.51)
48 | 7E | 3E | |
---|---|---|---|
RGB | 72 | 126 | 62 |
HSL | 111° | 34.04% | 36.86% |
HSB/HSV | 111° | 50.79% | 49.41% |
CMYK | 42.86% | 0.00% | 50.79% |
50.59% |
HEX | 48 | 7E | 3E |
Decimal | 72 | 126 | 62 |
Binary | 1001000 | 1111110 | 111110 |
Octal | 110 | 176 | 76 |
Examples of css and html codes for elements with #487E3E color. Also use rgb(72,126,62) instead hex code.
.myTextColor { color: #487E3E; }
<p style="color:#487E3E">This sample text font color is #487E3E.</p>
This text font color is #487E3E.
.myBgColor { background-color: #487E3E; }
<div style="background-color:#487E3E">Inner text</div>
This div background color is #487E3E.
.myBorderColor { border: 1px solid #487E3E; }
<div style="border:3px solid #487E3E">Div</div>
This div border color is #487E3E.
.myOpacity80 { color: #487E3E; opacity: 0.8; }
<p style="color:#487E3E;opacity:0.8;">80%</p>
Text with #487E3E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487E3E;}
<p style="text-shadow: 3px 3px 1px #487E3E">Text here.</p>
This text has shadow with #487E3E color.
.textShadow {text-shadow: 3px 3px 1px #487E3E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487E3E, 5px 5px 20px red">Text here.</p>
This text has shadow with #487E3E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487E3E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487E3E, Direction=45, Strength=4)">Text</p>
This text has shadow with #487E3E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487E3E; -webkit-box-shadow: 1px 1px 3px 2px #487E3E; box-shadow: 1px 1px 3px 2px #487E3E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487E3E; -webkit-box-shadow: 1px 1px 3px 2px #487E3E; box-shadow:1px 1px 3px 2px #487E3E;">
Div content here</div>
This text has color #487E3E on black background.
This text has color #487E3E on white background.
This text has black color on #487E3E background.
This text has white color on #487E3E background.