HEX: #837E9D
RGB: (131,126,157)
#837E9D contains red, green and blue colors in about the same proportion. Web safe color of #837E9D is #996699 (or #969).
#837E9D color RGB value is (131,126,157).
RGB: (131,126,157) (51%,49%,62%)
R 131 of 255 = 51%
G 126 of 255 = 49%
B 157 of 255 = 62%
R + G + B ~ 54%. #837E9D is middle color (not dark and not light).
R + G + B =
131 + 126 + 157 = 414 (100%)
R 131 of 414 ~ 31.64%
G 126 of 414 ~ 30.43%
B 157 of 414 ~ 37.92%
#837E9D color CMYK value is (17,20,0,38).
CMYK: (17,20,0,38) C17M20Y0K38 (17%,20%,0%,38%) (0.17/0.20/0.00/0.38)
83 | 7E | 9D | |
---|---|---|---|
RGB | 131 | 126 | 157 |
HSL | 250° | 13.66% | 55.49% |
HSB/HSV | 250° | 19.75% | 61.57% |
CMYK | 16.56% | 19.75% | 0.00% |
38.43% |
HEX | 83 | 7E | 9D |
Decimal | 131 | 126 | 157 |
Binary | 10000011 | 1111110 | 10011101 |
Octal | 203 | 176 | 235 |
Examples of css and html codes for elements with #837E9D color. Also use rgb(131,126,157) instead hex code.
.myTextColor { color: #837E9D; }
<p style="color:#837E9D">This sample text font color is #837E9D.</p>
This text font color is #837E9D.
.myBgColor { background-color: #837E9D; }
<div style="background-color:#837E9D">Inner text</div>
This div background color is #837E9D.
.myBorderColor { border: 1px solid #837E9D; }
<div style="border:3px solid #837E9D">Div</div>
This div border color is #837E9D.
.myOpacity80 { color: #837E9D; opacity: 0.8; }
<p style="color:#837E9D;opacity:0.8;">80%</p>
Text with #837E9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #837E9D;}
<p style="text-shadow: 3px 3px 1px #837E9D">Text here.</p>
This text has shadow with #837E9D color.
.textShadow {text-shadow: 3px 3px 1px #837E9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #837E9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #837E9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#837E9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#837E9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #837E9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #837E9D; -webkit-box-shadow: 1px 1px 3px 2px #837E9D; box-shadow: 1px 1px 3px 2px #837E9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #837E9D; -webkit-box-shadow: 1px 1px 3px 2px #837E9D; box-shadow:1px 1px 3px 2px #837E9D;">
Div content here</div>
This text has color #837E9D on black background.
This text has color #837E9D on white background.
This text has black color on #837E9D background.
This text has white color on #837E9D background.