HEX: #48974C
RGB: (72,151,76)
#48974C contains mainly green color. Web safe color of #48974C is #339933 (or #393).
#48974C color RGB value is (72,151,76).
RGB: (72,151,76) (28%,59%,30%)
R 72 of 255 = 28%
G 151 of 255 = 59%
B 76 of 255 = 30%
R + G + B ~ 39%. #48974C is quite dark color.
R + G + B =
72 + 151 + 76 = 299 (100%)
R 72 of 299 ~ 24.08%
G 151 of 299 ~ 50.5%
B 76 of 299 ~ 25.42%
#48974C color CMYK value is (52,0,50,41).
CMYK: (52,0,50,41) C52M0Y50K41 (52%,0%,50%,41%) (0.52/0.00/0.50/0.41)
48 | 97 | 4C | |
---|---|---|---|
RGB | 72 | 151 | 76 |
HSL | 123° | 35.43% | 43.73% |
HSB/HSV | 123° | 52.32% | 59.22% |
CMYK | 52.32% | 0.00% | 49.67% |
40.78% |
HEX | 48 | 97 | 4C |
Decimal | 72 | 151 | 76 |
Binary | 1001000 | 10010111 | 1001100 |
Octal | 110 | 227 | 114 |
Examples of css and html codes for elements with #48974C color. Also use rgb(72,151,76) instead hex code.
.myTextColor { color: #48974C; }
<p style="color:#48974C">This sample text font color is #48974C.</p>
This text font color is #48974C.
.myBgColor { background-color: #48974C; }
<div style="background-color:#48974C">Inner text</div>
This div background color is #48974C.
.myBorderColor { border: 1px solid #48974C; }
<div style="border:3px solid #48974C">Div</div>
This div border color is #48974C.
.myOpacity80 { color: #48974C; opacity: 0.8; }
<p style="color:#48974C;opacity:0.8;">80%</p>
Text with #48974C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48974C;}
<p style="text-shadow: 3px 3px 1px #48974C">Text here.</p>
This text has shadow with #48974C color.
.textShadow {text-shadow: 3px 3px 1px #48974C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48974C, 5px 5px 20px red">Text here.</p>
This text has shadow with #48974C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48974C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48974C, Direction=45, Strength=4)">Text</p>
This text has shadow with #48974C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48974C; -webkit-box-shadow: 1px 1px 3px 2px #48974C; box-shadow: 1px 1px 3px 2px #48974C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48974C; -webkit-box-shadow: 1px 1px 3px 2px #48974C; box-shadow:1px 1px 3px 2px #48974C;">
Div content here</div>
This text has color #48974C on black background.
This text has color #48974C on white background.
This text has black color on #48974C background.
This text has white color on #48974C background.