HEX: #488F2F
RGB: (72,143,47)
#488F2F contains mainly green color. Web safe color of #488F2F is #339933 (or #393).
#488F2F color RGB value is (72,143,47).
RGB: (72,143,47) (28%,56%,18%)
R 72 of 255 = 28%
G 143 of 255 = 56%
B 47 of 255 = 18%
R + G + B ~ 34%. #488F2F is quite dark color.
R + G + B =
72 + 143 + 47 = 262 (100%)
R 72 of 262 ~ 27.48%
G 143 of 262 ~ 54.58%
B 47 of 262 ~ 17.94%
#488F2F color CMYK value is (50,0,67,44).
CMYK: (50,0,67,44) C50M0Y67K44 (50%,0%,67%,44%) (0.50/0.00/0.67/0.44)
48 | 8F | 2F | |
---|---|---|---|
RGB | 72 | 143 | 47 |
HSL | 104° | 50.53% | 37.25% |
HSB/HSV | 104° | 67.13% | 56.08% |
CMYK | 49.65% | 0.00% | 67.13% |
43.92% |
HEX | 48 | 8F | 2F |
Decimal | 72 | 143 | 47 |
Binary | 1001000 | 10001111 | 101111 |
Octal | 110 | 217 | 57 |
Examples of css and html codes for elements with #488F2F color. Also use rgb(72,143,47) instead hex code.
.myTextColor { color: #488F2F; }
<p style="color:#488F2F">This sample text font color is #488F2F.</p>
This text font color is #488F2F.
.myBgColor { background-color: #488F2F; }
<div style="background-color:#488F2F">Inner text</div>
This div background color is #488F2F.
.myBorderColor { border: 1px solid #488F2F; }
<div style="border:3px solid #488F2F">Div</div>
This div border color is #488F2F.
.myOpacity80 { color: #488F2F; opacity: 0.8; }
<p style="color:#488F2F;opacity:0.8;">80%</p>
Text with #488F2F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #488F2F;}
<p style="text-shadow: 3px 3px 1px #488F2F">Text here.</p>
This text has shadow with #488F2F color.
.textShadow {text-shadow: 3px 3px 1px #488F2F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #488F2F, 5px 5px 20px red">Text here.</p>
This text has shadow with #488F2F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#488F2F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#488F2F, Direction=45, Strength=4)">Text</p>
This text has shadow with #488F2F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #488F2F; -webkit-box-shadow: 1px 1px 3px 2px #488F2F; box-shadow: 1px 1px 3px 2px #488F2F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #488F2F; -webkit-box-shadow: 1px 1px 3px 2px #488F2F; box-shadow:1px 1px 3px 2px #488F2F;">
Div content here</div>
This text has color #488F2F on black background.
This text has color #488F2F on white background.
This text has black color on #488F2F background.
This text has white color on #488F2F background.