HEX: #9E5E6C
RGB: (158,94,108)
#9E5E6C contains mainly red and blue colors. Web safe color of #9E5E6C is #996666 (or #966).
#9E5E6C color RGB value is (158,94,108).
RGB: (158,94,108) (62%,37%,42%)
R 158 of 255 = 62%
G 94 of 255 = 37%
B 108 of 255 = 42%
R + G + B ~ 47%. #9E5E6C is middle color (not dark and not light).
R + G + B =
158 + 94 + 108 = 360 (100%)
R 158 of 360 ~ 43.89%
G 94 of 360 ~ 26.11%
B 108 of 360 ~ 30%
#9E5E6C color CMYK value is (0,41,32,38).
CMYK: (0,41,32,38) C0M41Y32K38 (0%,41%,32%,38%) (0.00/0.41/0.32/0.38)
9E | 5E | 6C | |
---|---|---|---|
RGB | 158 | 94 | 108 |
HSL | 347° | 25.40% | 49.41% |
HSB/HSV | 347° | 40.51% | 61.96% |
CMYK | 0.00% | 40.51% | 31.65% |
38.04% |
HEX | 9E | 5E | 6C |
Decimal | 158 | 94 | 108 |
Binary | 10011110 | 1011110 | 1101100 |
Octal | 236 | 136 | 154 |
Examples of css and html codes for elements with #9E5E6C color. Also use rgb(158,94,108) instead hex code.
.myTextColor { color: #9E5E6C; }
<p style="color:#9E5E6C">This sample text font color is #9E5E6C.</p>
This text font color is #9E5E6C.
.myBgColor { background-color: #9E5E6C; }
<div style="background-color:#9E5E6C">Inner text</div>
This div background color is #9E5E6C.
.myBorderColor { border: 1px solid #9E5E6C; }
<div style="border:3px solid #9E5E6C">Div</div>
This div border color is #9E5E6C.
.myOpacity80 { color: #9E5E6C; opacity: 0.8; }
<p style="color:#9E5E6C;opacity:0.8;">80%</p>
Text with #9E5E6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E5E6C;}
<p style="text-shadow: 3px 3px 1px #9E5E6C">Text here.</p>
This text has shadow with #9E5E6C color.
.textShadow {text-shadow: 3px 3px 1px #9E5E6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E5E6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #9E5E6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E5E6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E5E6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E5E6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E5E6C; -webkit-box-shadow: 1px 1px 3px 2px #9E5E6C; box-shadow: 1px 1px 3px 2px #9E5E6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E5E6C; -webkit-box-shadow: 1px 1px 3px 2px #9E5E6C; box-shadow:1px 1px 3px 2px #9E5E6C;">
Div content here</div>
This text has color #9E5E6C on black background.
This text has color #9E5E6C on white background.
This text has black color on #9E5E6C background.
This text has white color on #9E5E6C background.