HEX: #387B2D
RGB: (56,123,45)
#387B2D contains mainly green color. Web safe color of #387B2D is #336633 (or #363).
#387B2D color RGB value is (56,123,45).
RGB: (56,123,45) (22%,48%,18%)
R 56 of 255 = 22%
G 123 of 255 = 48%
B 45 of 255 = 18%
R + G + B ~ 29%. #387B2D is quite dark color.
R + G + B =
56 + 123 + 45 = 224 (100%)
R 56 of 224 ~ 25%
G 123 of 224 ~ 54.91%
B 45 of 224 ~ 20.09%
#387B2D color CMYK value is (54,0,63,52).
CMYK: (54,0,63,52) C54M0Y63K52 (54%,0%,63%,52%) (0.54/0.00/0.63/0.52)
38 | 7B | 2D | |
---|---|---|---|
RGB | 56 | 123 | 45 |
HSL | 112° | 46.43% | 32.94% |
HSB/HSV | 112° | 63.41% | 48.24% |
CMYK | 54.47% | 0.00% | 63.41% |
51.76% |
HEX | 38 | 7B | 2D |
Decimal | 56 | 123 | 45 |
Binary | 111000 | 1111011 | 101101 |
Octal | 70 | 173 | 55 |
Examples of css and html codes for elements with #387B2D color. Also use rgb(56,123,45) instead hex code.
.myTextColor { color: #387B2D; }
<p style="color:#387B2D">This sample text font color is #387B2D.</p>
This text font color is #387B2D.
.myBgColor { background-color: #387B2D; }
<div style="background-color:#387B2D">Inner text</div>
This div background color is #387B2D.
.myBorderColor { border: 1px solid #387B2D; }
<div style="border:3px solid #387B2D">Div</div>
This div border color is #387B2D.
.myOpacity80 { color: #387B2D; opacity: 0.8; }
<p style="color:#387B2D;opacity:0.8;">80%</p>
Text with #387B2D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #387B2D;}
<p style="text-shadow: 3px 3px 1px #387B2D">Text here.</p>
This text has shadow with #387B2D color.
.textShadow {text-shadow: 3px 3px 1px #387B2D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #387B2D, 5px 5px 20px red">Text here.</p>
This text has shadow with #387B2D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#387B2D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#387B2D, Direction=45, Strength=4)">Text</p>
This text has shadow with #387B2D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #387B2D; -webkit-box-shadow: 1px 1px 3px 2px #387B2D; box-shadow: 1px 1px 3px 2px #387B2D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #387B2D; -webkit-box-shadow: 1px 1px 3px 2px #387B2D; box-shadow:1px 1px 3px 2px #387B2D;">
Div content here</div>
This text has color #387B2D on black background.
This text has color #387B2D on white background.
This text has black color on #387B2D background.
This text has white color on #387B2D background.