HEX: #125E2D
RGB: (18,94,45)
#125E2D contains mainly green and blue colors. Web safe color of #125E2D is #006633 (or #063).
#125E2D color RGB value is (18,94,45).
RGB: (18,94,45) (7%,37%,18%)
R 18 of 255 = 7%
G 94 of 255 = 37%
B 45 of 255 = 18%
R + G + B ~ 21%. #125E2D is dark color.
R + G + B =
18 + 94 + 45 = 157 (100%)
R 18 of 157 ~ 11.46%
G 94 of 157 ~ 59.87%
B 45 of 157 ~ 28.66%
#125E2D color CMYK value is (81,0,52,63).
CMYK: (81,0,52,63) C81M0Y52K63 (81%,0%,52%,63%) (0.81/0.00/0.52/0.63)
12 | 5E | 2D | |
---|---|---|---|
RGB | 18 | 94 | 45 |
HSL | 141° | 67.86% | 21.96% |
HSB/HSV | 141° | 80.85% | 36.86% |
CMYK | 80.85% | 0.00% | 52.13% |
63.14% |
HEX | 12 | 5E | 2D |
Decimal | 18 | 94 | 45 |
Binary | 10010 | 1011110 | 101101 |
Octal | 22 | 136 | 55 |
Examples of css and html codes for elements with #125E2D color. Also use rgb(18,94,45) instead hex code.
.myTextColor { color: #125E2D; }
<p style="color:#125E2D">This sample text font color is #125E2D.</p>
This text font color is #125E2D.
.myBgColor { background-color: #125E2D; }
<div style="background-color:#125E2D">Inner text</div>
This div background color is #125E2D.
.myBorderColor { border: 1px solid #125E2D; }
<div style="border:3px solid #125E2D">Div</div>
This div border color is #125E2D.
.myOpacity80 { color: #125E2D; opacity: 0.8; }
<p style="color:#125E2D;opacity:0.8;">80%</p>
Text with #125E2D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #125E2D;}
<p style="text-shadow: 3px 3px 1px #125E2D">Text here.</p>
This text has shadow with #125E2D color.
.textShadow {text-shadow: 3px 3px 1px #125E2D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #125E2D, 5px 5px 20px red">Text here.</p>
This text has shadow with #125E2D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#125E2D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#125E2D, Direction=45, Strength=4)">Text</p>
This text has shadow with #125E2D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #125E2D; -webkit-box-shadow: 1px 1px 3px 2px #125E2D; box-shadow: 1px 1px 3px 2px #125E2D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #125E2D; -webkit-box-shadow: 1px 1px 3px 2px #125E2D; box-shadow:1px 1px 3px 2px #125E2D;">
Div content here</div>
This text has color #125E2D on black background.
This text has color #125E2D on white background.
This text has black color on #125E2D background.
This text has white color on #125E2D background.