HEX: #48795A
RGB: (72,121,90)
#48795A contains red, green and blue colors in about the same proportion. Web safe color of #48795A is #336666 (or #366).
#48795A color RGB value is (72,121,90).
RGB: (72,121,90) (28%,47%,35%)
R 72 of 255 = 28%
G 121 of 255 = 47%
B 90 of 255 = 35%
R + G + B ~ 37%. #48795A is quite dark color.
R + G + B =
72 + 121 + 90 = 283 (100%)
R 72 of 283 ~ 25.44%
G 121 of 283 ~ 42.76%
B 90 of 283 ~ 31.8%
#48795A color CMYK value is (40,0,26,53).
CMYK: (40,0,26,53) C40M0Y26K53 (40%,0%,26%,53%) (0.40/0.00/0.26/0.53)
48 | 79 | 5A | |
---|---|---|---|
RGB | 72 | 121 | 90 |
HSL | 142° | 25.39% | 37.84% |
HSB/HSV | 142° | 40.50% | 47.45% |
CMYK | 40.50% | 0.00% | 25.62% |
52.55% |
HEX | 48 | 79 | 5A |
Decimal | 72 | 121 | 90 |
Binary | 1001000 | 1111001 | 1011010 |
Octal | 110 | 171 | 132 |
Examples of css and html codes for elements with #48795A color. Also use rgb(72,121,90) instead hex code.
.myTextColor { color: #48795A; }
<p style="color:#48795A">This sample text font color is #48795A.</p>
This text font color is #48795A.
.myBgColor { background-color: #48795A; }
<div style="background-color:#48795A">Inner text</div>
This div background color is #48795A.
.myBorderColor { border: 1px solid #48795A; }
<div style="border:3px solid #48795A">Div</div>
This div border color is #48795A.
.myOpacity80 { color: #48795A; opacity: 0.8; }
<p style="color:#48795A;opacity:0.8;">80%</p>
Text with #48795A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48795A;}
<p style="text-shadow: 3px 3px 1px #48795A">Text here.</p>
This text has shadow with #48795A color.
.textShadow {text-shadow: 3px 3px 1px #48795A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48795A, 5px 5px 20px red">Text here.</p>
This text has shadow with #48795A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48795A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48795A, Direction=45, Strength=4)">Text</p>
This text has shadow with #48795A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48795A; -webkit-box-shadow: 1px 1px 3px 2px #48795A; box-shadow: 1px 1px 3px 2px #48795A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48795A; -webkit-box-shadow: 1px 1px 3px 2px #48795A; box-shadow:1px 1px 3px 2px #48795A;">
Div content here</div>
This text has color #48795A on black background.
This text has color #48795A on white background.
This text has black color on #48795A background.
This text has white color on #48795A background.