HEX: #957E12
RGB: (149,126,18)
#957E12 contains mainly red and green colors. Web safe color of #957E12 is #996600 (or #960).
#957E12 color RGB value is (149,126,18).
RGB: (149,126,18) (58%,49%,7%)
R 149 of 255 = 58%
G 126 of 255 = 49%
B 18 of 255 = 7%
R + G + B ~ 38%. #957E12 is quite dark color.
R + G + B =
149 + 126 + 18 = 293 (100%)
R 149 of 293 ~ 50.85%
G 126 of 293 ~ 43%
B 18 of 293 ~ 6.14%
#957E12 color CMYK value is (0,15,88,42).
CMYK: (0,15,88,42) C0M15Y88K42 (0%,15%,88%,42%) (0.00/0.15/0.88/0.42)
95 | 7E | 12 | |
---|---|---|---|
RGB | 149 | 126 | 18 |
HSL | 49° | 78.44% | 32.75% |
HSB/HSV | 49° | 87.92% | 58.43% |
CMYK | 0.00% | 15.44% | 87.92% |
41.57% |
HEX | 95 | 7E | 12 |
Decimal | 149 | 126 | 18 |
Binary | 10010101 | 1111110 | 10010 |
Octal | 225 | 176 | 22 |
Examples of css and html codes for elements with #957E12 color. Also use rgb(149,126,18) instead hex code.
.myTextColor { color: #957E12; }
<p style="color:#957E12">This sample text font color is #957E12.</p>
This text font color is #957E12.
.myBgColor { background-color: #957E12; }
<div style="background-color:#957E12">Inner text</div>
This div background color is #957E12.
.myBorderColor { border: 1px solid #957E12; }
<div style="border:3px solid #957E12">Div</div>
This div border color is #957E12.
.myOpacity80 { color: #957E12; opacity: 0.8; }
<p style="color:#957E12;opacity:0.8;">80%</p>
Text with #957E12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #957E12;}
<p style="text-shadow: 3px 3px 1px #957E12">Text here.</p>
This text has shadow with #957E12 color.
.textShadow {text-shadow: 3px 3px 1px #957E12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #957E12, 5px 5px 20px red">Text here.</p>
This text has shadow with #957E12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#957E12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#957E12, Direction=45, Strength=4)">Text</p>
This text has shadow with #957E12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #957E12; -webkit-box-shadow: 1px 1px 3px 2px #957E12; box-shadow: 1px 1px 3px 2px #957E12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #957E12; -webkit-box-shadow: 1px 1px 3px 2px #957E12; box-shadow:1px 1px 3px 2px #957E12;">
Div content here</div>
This text has color #957E12 on black background.
This text has color #957E12 on white background.
This text has black color on #957E12 background.
This text has white color on #957E12 background.