HEX: #48915A
RGB: (72,145,90)
#48915A contains mainly green and blue colors. Web safe color of #48915A is #339966 (or #396).
#48915A color RGB value is (72,145,90).
RGB: (72,145,90) (28%,57%,35%)
R 72 of 255 = 28%
G 145 of 255 = 57%
B 90 of 255 = 35%
R + G + B ~ 40%. #48915A is middle color (not dark and not light).
R + G + B =
72 + 145 + 90 = 307 (100%)
R 72 of 307 ~ 23.45%
G 145 of 307 ~ 47.23%
B 90 of 307 ~ 29.32%
#48915A color CMYK value is (50,0,38,43).
CMYK: (50,0,38,43) C50M0Y38K43 (50%,0%,38%,43%) (0.50/0.00/0.38/0.43)
48 | 91 | 5A | |
---|---|---|---|
RGB | 72 | 145 | 90 |
HSL | 135° | 33.64% | 42.55% |
HSB/HSV | 135° | 50.34% | 56.86% |
CMYK | 50.34% | 0.00% | 37.93% |
43.14% |
HEX | 48 | 91 | 5A |
Decimal | 72 | 145 | 90 |
Binary | 1001000 | 10010001 | 1011010 |
Octal | 110 | 221 | 132 |
Examples of css and html codes for elements with #48915A color. Also use rgb(72,145,90) instead hex code.
.myTextColor { color: #48915A; }
<p style="color:#48915A">This sample text font color is #48915A.</p>
This text font color is #48915A.
.myBgColor { background-color: #48915A; }
<div style="background-color:#48915A">Inner text</div>
This div background color is #48915A.
.myBorderColor { border: 1px solid #48915A; }
<div style="border:3px solid #48915A">Div</div>
This div border color is #48915A.
.myOpacity80 { color: #48915A; opacity: 0.8; }
<p style="color:#48915A;opacity:0.8;">80%</p>
Text with #48915A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48915A;}
<p style="text-shadow: 3px 3px 1px #48915A">Text here.</p>
This text has shadow with #48915A color.
.textShadow {text-shadow: 3px 3px 1px #48915A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48915A, 5px 5px 20px red">Text here.</p>
This text has shadow with #48915A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48915A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48915A, Direction=45, Strength=4)">Text</p>
This text has shadow with #48915A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48915A; -webkit-box-shadow: 1px 1px 3px 2px #48915A; box-shadow: 1px 1px 3px 2px #48915A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48915A; -webkit-box-shadow: 1px 1px 3px 2px #48915A; box-shadow:1px 1px 3px 2px #48915A;">
Div content here</div>
This text has color #48915A on black background.
This text has color #48915A on white background.
This text has black color on #48915A background.
This text has white color on #48915A background.