HEX: #48A757
RGB: (72,167,87)
#48A757 contains mainly green color. Web safe color of #48A757 is #339966 (or #396).
#48A757 color RGB value is (72,167,87).
RGB: (72,167,87) (28%,65%,34%)
R 72 of 255 = 28%
G 167 of 255 = 65%
B 87 of 255 = 34%
R + G + B ~ 42%. #48A757 is middle color (not dark and not light).
R + G + B =
72 + 167 + 87 = 326 (100%)
R 72 of 326 ~ 22.09%
G 167 of 326 ~ 51.23%
B 87 of 326 ~ 26.69%
#48A757 color CMYK value is (57,0,48,35).
CMYK: (57,0,48,35) C57M0Y48K35 (57%,0%,48%,35%) (0.57/0.00/0.48/0.35)
48 | A7 | 57 | |
---|---|---|---|
RGB | 72 | 167 | 87 |
HSL | 129° | 39.75% | 46.86% |
HSB/HSV | 129° | 56.89% | 65.49% |
CMYK | 56.89% | 0.00% | 47.90% |
34.51% |
HEX | 48 | A7 | 57 |
Decimal | 72 | 167 | 87 |
Binary | 1001000 | 10100111 | 1010111 |
Octal | 110 | 247 | 127 |
Examples of css and html codes for elements with #48A757 color. Also use rgb(72,167,87) instead hex code.
.myTextColor { color: #48A757; }
<p style="color:#48A757">This sample text font color is #48A757.</p>
This text font color is #48A757.
.myBgColor { background-color: #48A757; }
<div style="background-color:#48A757">Inner text</div>
This div background color is #48A757.
.myBorderColor { border: 1px solid #48A757; }
<div style="border:3px solid #48A757">Div</div>
This div border color is #48A757.
.myOpacity80 { color: #48A757; opacity: 0.8; }
<p style="color:#48A757;opacity:0.8;">80%</p>
Text with #48A757 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48A757;}
<p style="text-shadow: 3px 3px 1px #48A757">Text here.</p>
This text has shadow with #48A757 color.
.textShadow {text-shadow: 3px 3px 1px #48A757, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48A757, 5px 5px 20px red">Text here.</p>
This text has shadow with #48A757 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48A757, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48A757, Direction=45, Strength=4)">Text</p>
This text has shadow with #48A757 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48A757; -webkit-box-shadow: 1px 1px 3px 2px #48A757; box-shadow: 1px 1px 3px 2px #48A757; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48A757; -webkit-box-shadow: 1px 1px 3px 2px #48A757; box-shadow:1px 1px 3px 2px #48A757;">
Div content here</div>
This text has color #48A757 on black background.
This text has color #48A757 on white background.
This text has black color on #48A757 background.
This text has white color on #48A757 background.