HEX: #187D1D
RGB: (24,125,29)
#187D1D contains mainly green color. Web safe color of #187D1D is #006633 (or #063).
#187D1D color RGB value is (24,125,29).
RGB: (24,125,29) (9%,49%,11%)
R 24 of 255 = 9%
G 125 of 255 = 49%
B 29 of 255 = 11%
R + G + B ~ 23%. #187D1D is dark color.
R + G + B =
24 + 125 + 29 = 178 (100%)
R 24 of 178 ~ 13.48%
G 125 of 178 ~ 70.22%
B 29 of 178 ~ 16.29%
#187D1D color CMYK value is (81,0,77,51).
CMYK: (81,0,77,51) C81M0Y77K51 (81%,0%,77%,51%) (0.81/0.00/0.77/0.51)
18 | 7D | 1D | |
---|---|---|---|
RGB | 24 | 125 | 29 |
HSL | 123° | 67.79% | 29.22% |
HSB/HSV | 123° | 80.80% | 49.02% |
CMYK | 80.80% | 0.00% | 76.80% |
50.98% |
HEX | 18 | 7D | 1D |
Decimal | 24 | 125 | 29 |
Binary | 11000 | 1111101 | 11101 |
Octal | 30 | 175 | 35 |
Examples of css and html codes for elements with #187D1D color. Also use rgb(24,125,29) instead hex code.
.myTextColor { color: #187D1D; }
<p style="color:#187D1D">This sample text font color is #187D1D.</p>
This text font color is #187D1D.
.myBgColor { background-color: #187D1D; }
<div style="background-color:#187D1D">Inner text</div>
This div background color is #187D1D.
.myBorderColor { border: 1px solid #187D1D; }
<div style="border:3px solid #187D1D">Div</div>
This div border color is #187D1D.
.myOpacity80 { color: #187D1D; opacity: 0.8; }
<p style="color:#187D1D;opacity:0.8;">80%</p>
Text with #187D1D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #187D1D;}
<p style="text-shadow: 3px 3px 1px #187D1D">Text here.</p>
This text has shadow with #187D1D color.
.textShadow {text-shadow: 3px 3px 1px #187D1D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #187D1D, 5px 5px 20px red">Text here.</p>
This text has shadow with #187D1D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#187D1D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#187D1D, Direction=45, Strength=4)">Text</p>
This text has shadow with #187D1D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #187D1D; -webkit-box-shadow: 1px 1px 3px 2px #187D1D; box-shadow: 1px 1px 3px 2px #187D1D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #187D1D; -webkit-box-shadow: 1px 1px 3px 2px #187D1D; box-shadow:1px 1px 3px 2px #187D1D;">
Div content here</div>
This text has color #187D1D on black background.
This text has color #187D1D on white background.
This text has black color on #187D1D background.
This text has white color on #187D1D background.