HEX: #48771B
RGB: (72,119,27)
#48771B contains mainly red and green colors. Web safe color of #48771B is #336633 (or #363).
#48771B color RGB value is (72,119,27).
RGB: (72,119,27) (28%,47%,11%)
R 72 of 255 = 28%
G 119 of 255 = 47%
B 27 of 255 = 11%
R + G + B ~ 29%. #48771B is quite dark color.
R + G + B =
72 + 119 + 27 = 218 (100%)
R 72 of 218 ~ 33.03%
G 119 of 218 ~ 54.59%
B 27 of 218 ~ 12.39%
#48771B color CMYK value is (39,0,77,53).
CMYK: (39,0,77,53) C39M0Y77K53 (39%,0%,77%,53%) (0.39/0.00/0.77/0.53)
48 | 77 | 1B | |
---|---|---|---|
RGB | 72 | 119 | 27 |
HSL | 91° | 63.01% | 28.63% |
HSB/HSV | 91° | 77.31% | 46.67% |
CMYK | 39.50% | 0.00% | 77.31% |
53.33% |
HEX | 48 | 77 | 1B |
Decimal | 72 | 119 | 27 |
Binary | 1001000 | 1110111 | 11011 |
Octal | 110 | 167 | 33 |
Examples of css and html codes for elements with #48771B color. Also use rgb(72,119,27) instead hex code.
.myTextColor { color: #48771B; }
<p style="color:#48771B">This sample text font color is #48771B.</p>
This text font color is #48771B.
.myBgColor { background-color: #48771B; }
<div style="background-color:#48771B">Inner text</div>
This div background color is #48771B.
.myBorderColor { border: 1px solid #48771B; }
<div style="border:3px solid #48771B">Div</div>
This div border color is #48771B.
.myOpacity80 { color: #48771B; opacity: 0.8; }
<p style="color:#48771B;opacity:0.8;">80%</p>
Text with #48771B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48771B;}
<p style="text-shadow: 3px 3px 1px #48771B">Text here.</p>
This text has shadow with #48771B color.
.textShadow {text-shadow: 3px 3px 1px #48771B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48771B, 5px 5px 20px red">Text here.</p>
This text has shadow with #48771B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48771B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48771B, Direction=45, Strength=4)">Text</p>
This text has shadow with #48771B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48771B; -webkit-box-shadow: 1px 1px 3px 2px #48771B; box-shadow: 1px 1px 3px 2px #48771B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48771B; -webkit-box-shadow: 1px 1px 3px 2px #48771B; box-shadow:1px 1px 3px 2px #48771B;">
Div content here</div>
This text has color #48771B on black background.
This text has color #48771B on white background.
This text has black color on #48771B background.
This text has white color on #48771B background.