HEX: #387A11
RGB: (56,122,17)
#387A11 contains mainly green color. Web safe color of #387A11 is #336600 (or #360).
#387A11 color RGB value is (56,122,17).
RGB: (56,122,17) (22%,48%,7%)
R 56 of 255 = 22%
G 122 of 255 = 48%
B 17 of 255 = 7%
R + G + B ~ 26%. #387A11 is quite dark color.
R + G + B =
56 + 122 + 17 = 195 (100%)
R 56 of 195 ~ 28.72%
G 122 of 195 ~ 62.56%
B 17 of 195 ~ 8.72%
#387A11 color CMYK value is (54,0,86,52).
CMYK: (54,0,86,52) C54M0Y86K52 (54%,0%,86%,52%) (0.54/0.00/0.86/0.52)
38 | 7A | 11 | |
---|---|---|---|
RGB | 56 | 122 | 17 |
HSL | 98° | 75.54% | 27.25% |
HSB/HSV | 98° | 86.07% | 47.84% |
CMYK | 54.10% | 0.00% | 86.07% |
52.16% |
HEX | 38 | 7A | 11 |
Decimal | 56 | 122 | 17 |
Binary | 111000 | 1111010 | 10001 |
Octal | 70 | 172 | 21 |
Examples of css and html codes for elements with #387A11 color. Also use rgb(56,122,17) instead hex code.
.myTextColor { color: #387A11; }
<p style="color:#387A11">This sample text font color is #387A11.</p>
This text font color is #387A11.
.myBgColor { background-color: #387A11; }
<div style="background-color:#387A11">Inner text</div>
This div background color is #387A11.
.myBorderColor { border: 1px solid #387A11; }
<div style="border:3px solid #387A11">Div</div>
This div border color is #387A11.
.myOpacity80 { color: #387A11; opacity: 0.8; }
<p style="color:#387A11;opacity:0.8;">80%</p>
Text with #387A11 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #387A11;}
<p style="text-shadow: 3px 3px 1px #387A11">Text here.</p>
This text has shadow with #387A11 color.
.textShadow {text-shadow: 3px 3px 1px #387A11, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #387A11, 5px 5px 20px red">Text here.</p>
This text has shadow with #387A11 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#387A11, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#387A11, Direction=45, Strength=4)">Text</p>
This text has shadow with #387A11 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #387A11; -webkit-box-shadow: 1px 1px 3px 2px #387A11; box-shadow: 1px 1px 3px 2px #387A11; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #387A11; -webkit-box-shadow: 1px 1px 3px 2px #387A11; box-shadow:1px 1px 3px 2px #387A11;">
Div content here</div>
This text has color #387A11 on black background.
This text has color #387A11 on white background.
This text has black color on #387A11 background.
This text has white color on #387A11 background.