HEX: #125C2E
RGB: (18,92,46)
#125C2E contains mainly green and blue colors. Web safe color of #125C2E is #006633 (or #063).
#125C2E color RGB value is (18,92,46).
RGB: (18,92,46) (7%,36%,18%)
R 18 of 255 = 7%
G 92 of 255 = 36%
B 46 of 255 = 18%
R + G + B ~ 20%. #125C2E is dark color.
R + G + B =
18 + 92 + 46 = 156 (100%)
R 18 of 156 ~ 11.54%
G 92 of 156 ~ 58.97%
B 46 of 156 ~ 29.49%
#125C2E color CMYK value is (80,0,50,64).
CMYK: (80,0,50,64) C80M0Y50K64 (80%,0%,50%,64%) (0.80/0.00/0.50/0.64)
12 | 5C | 2E | |
---|---|---|---|
RGB | 18 | 92 | 46 |
HSL | 143° | 67.27% | 21.57% |
HSB/HSV | 143° | 80.43% | 36.08% |
CMYK | 80.43% | 0.00% | 50.00% |
63.92% |
HEX | 12 | 5C | 2E |
Decimal | 18 | 92 | 46 |
Binary | 10010 | 1011100 | 101110 |
Octal | 22 | 134 | 56 |
Examples of css and html codes for elements with #125C2E color. Also use rgb(18,92,46) instead hex code.
.myTextColor { color: #125C2E; }
<p style="color:#125C2E">This sample text font color is #125C2E.</p>
This text font color is #125C2E.
.myBgColor { background-color: #125C2E; }
<div style="background-color:#125C2E">Inner text</div>
This div background color is #125C2E.
.myBorderColor { border: 1px solid #125C2E; }
<div style="border:3px solid #125C2E">Div</div>
This div border color is #125C2E.
.myOpacity80 { color: #125C2E; opacity: 0.8; }
<p style="color:#125C2E;opacity:0.8;">80%</p>
Text with #125C2E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #125C2E;}
<p style="text-shadow: 3px 3px 1px #125C2E">Text here.</p>
This text has shadow with #125C2E color.
.textShadow {text-shadow: 3px 3px 1px #125C2E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #125C2E, 5px 5px 20px red">Text here.</p>
This text has shadow with #125C2E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#125C2E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#125C2E, Direction=45, Strength=4)">Text</p>
This text has shadow with #125C2E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #125C2E; -webkit-box-shadow: 1px 1px 3px 2px #125C2E; box-shadow: 1px 1px 3px 2px #125C2E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #125C2E; -webkit-box-shadow: 1px 1px 3px 2px #125C2E; box-shadow:1px 1px 3px 2px #125C2E;">
Div content here</div>
This text has color #125C2E on black background.
This text has color #125C2E on white background.
This text has black color on #125C2E background.
This text has white color on #125C2E background.