HEX: #487140
RGB: (72,113,64)
#487140 contains red, green and blue colors in about the same proportion. Web safe color of #487140 is #336633 (or #363).
#487140 color RGB value is (72,113,64).
RGB: (72,113,64) (28%,44%,25%)
R 72 of 255 = 28%
G 113 of 255 = 44%
B 64 of 255 = 25%
R + G + B ~ 32%. #487140 is quite dark color.
R + G + B =
72 + 113 + 64 = 249 (100%)
R 72 of 249 ~ 28.92%
G 113 of 249 ~ 45.38%
B 64 of 249 ~ 25.7%
#487140 color CMYK value is (36,0,43,56).
CMYK: (36,0,43,56) C36M0Y43K56 (36%,0%,43%,56%) (0.36/0.00/0.43/0.56)
48 | 71 | 40 | |
---|---|---|---|
RGB | 72 | 113 | 64 |
HSL | 110° | 27.68% | 34.71% |
HSB/HSV | 110° | 43.36% | 44.31% |
CMYK | 36.28% | 0.00% | 43.36% |
55.69% |
HEX | 48 | 71 | 40 |
Decimal | 72 | 113 | 64 |
Binary | 1001000 | 1110001 | 1000000 |
Octal | 110 | 161 | 100 |
Examples of css and html codes for elements with #487140 color. Also use rgb(72,113,64) instead hex code.
.myTextColor { color: #487140; }
<p style="color:#487140">This sample text font color is #487140.</p>
This text font color is #487140.
.myBgColor { background-color: #487140; }
<div style="background-color:#487140">Inner text</div>
This div background color is #487140.
.myBorderColor { border: 1px solid #487140; }
<div style="border:3px solid #487140">Div</div>
This div border color is #487140.
.myOpacity80 { color: #487140; opacity: 0.8; }
<p style="color:#487140;opacity:0.8;">80%</p>
Text with #487140 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #487140;}
<p style="text-shadow: 3px 3px 1px #487140">Text here.</p>
This text has shadow with #487140 color.
.textShadow {text-shadow: 3px 3px 1px #487140, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #487140, 5px 5px 20px red">Text here.</p>
This text has shadow with #487140 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#487140, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#487140, Direction=45, Strength=4)">Text</p>
This text has shadow with #487140 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #487140; -webkit-box-shadow: 1px 1px 3px 2px #487140; box-shadow: 1px 1px 3px 2px #487140; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #487140; -webkit-box-shadow: 1px 1px 3px 2px #487140; box-shadow:1px 1px 3px 2px #487140;">
Div content here</div>
This text has color #487140 on black background.
This text has color #487140 on white background.
This text has black color on #487140 background.
This text has white color on #487140 background.