HEX: #387E27
RGB: (56,126,39)
#387E27 contains mainly green color. Web safe color of #387E27 is #336633 (or #363).
#387E27 color RGB value is (56,126,39).
RGB: (56,126,39) (22%,49%,15%)
R 56 of 255 = 22%
G 126 of 255 = 49%
B 39 of 255 = 15%
R + G + B ~ 29%. #387E27 is quite dark color.
R + G + B =
56 + 126 + 39 = 221 (100%)
R 56 of 221 ~ 25.34%
G 126 of 221 ~ 57.01%
B 39 of 221 ~ 17.65%
#387E27 color CMYK value is (56,0,69,51).
CMYK: (56,0,69,51) C56M0Y69K51 (56%,0%,69%,51%) (0.56/0.00/0.69/0.51)
38 | 7E | 27 | |
---|---|---|---|
RGB | 56 | 126 | 39 |
HSL | 108° | 52.73% | 32.35% |
HSB/HSV | 108° | 69.05% | 49.41% |
CMYK | 55.56% | 0.00% | 69.05% |
50.59% |
HEX | 38 | 7E | 27 |
Decimal | 56 | 126 | 39 |
Binary | 111000 | 1111110 | 100111 |
Octal | 70 | 176 | 47 |
Examples of css and html codes for elements with #387E27 color. Also use rgb(56,126,39) instead hex code.
.myTextColor { color: #387E27; }
<p style="color:#387E27">This sample text font color is #387E27.</p>
This text font color is #387E27.
.myBgColor { background-color: #387E27; }
<div style="background-color:#387E27">Inner text</div>
This div background color is #387E27.
.myBorderColor { border: 1px solid #387E27; }
<div style="border:3px solid #387E27">Div</div>
This div border color is #387E27.
.myOpacity80 { color: #387E27; opacity: 0.8; }
<p style="color:#387E27;opacity:0.8;">80%</p>
Text with #387E27 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #387E27;}
<p style="text-shadow: 3px 3px 1px #387E27">Text here.</p>
This text has shadow with #387E27 color.
.textShadow {text-shadow: 3px 3px 1px #387E27, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #387E27, 5px 5px 20px red">Text here.</p>
This text has shadow with #387E27 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#387E27, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#387E27, Direction=45, Strength=4)">Text</p>
This text has shadow with #387E27 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #387E27; -webkit-box-shadow: 1px 1px 3px 2px #387E27; box-shadow: 1px 1px 3px 2px #387E27; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #387E27; -webkit-box-shadow: 1px 1px 3px 2px #387E27; box-shadow:1px 1px 3px 2px #387E27;">
Div content here</div>
This text has color #387E27 on black background.
This text has color #387E27 on white background.
This text has black color on #387E27 background.
This text has white color on #387E27 background.