HEX: #837AAB
RGB: (131,122,171)
#837AAB contains red, green and blue colors in about the same proportion. Web safe color of #837AAB is #996699 (or #969).
#837AAB color RGB value is (131,122,171).
RGB: (131,122,171) (51%,48%,67%)
R 131 of 255 = 51%
G 122 of 255 = 48%
B 171 of 255 = 67%
R + G + B ~ 55%. #837AAB is middle color (not dark and not light).
R + G + B =
131 + 122 + 171 = 424 (100%)
R 131 of 424 ~ 30.9%
G 122 of 424 ~ 28.77%
B 171 of 424 ~ 40.33%
#837AAB color CMYK value is (23,29,0,33).
CMYK: (23,29,0,33) C23M29Y0K33 (23%,29%,0%,33%) (0.23/0.29/0.00/0.33)
83 | 7A | AB | |
---|---|---|---|
RGB | 131 | 122 | 171 |
HSL | 251° | 22.58% | 57.45% |
HSB/HSV | 251° | 28.65% | 67.06% |
CMYK | 23.39% | 28.65% | 0.00% |
32.94% |
HEX | 83 | 7A | AB |
Decimal | 131 | 122 | 171 |
Binary | 10000011 | 1111010 | 10101011 |
Octal | 203 | 172 | 253 |
Examples of css and html codes for elements with #837AAB color. Also use rgb(131,122,171) instead hex code.
.myTextColor { color: #837AAB; }
<p style="color:#837AAB">This sample text font color is #837AAB.</p>
This text font color is #837AAB.
.myBgColor { background-color: #837AAB; }
<div style="background-color:#837AAB">Inner text</div>
This div background color is #837AAB.
.myBorderColor { border: 1px solid #837AAB; }
<div style="border:3px solid #837AAB">Div</div>
This div border color is #837AAB.
.myOpacity80 { color: #837AAB; opacity: 0.8; }
<p style="color:#837AAB;opacity:0.8;">80%</p>
Text with #837AAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #837AAB;}
<p style="text-shadow: 3px 3px 1px #837AAB">Text here.</p>
This text has shadow with #837AAB color.
.textShadow {text-shadow: 3px 3px 1px #837AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #837AAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #837AAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#837AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#837AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #837AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #837AAB; -webkit-box-shadow: 1px 1px 3px 2px #837AAB; box-shadow: 1px 1px 3px 2px #837AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #837AAB; -webkit-box-shadow: 1px 1px 3px 2px #837AAB; box-shadow:1px 1px 3px 2px #837AAB;">
Div content here</div>
This text has color #837AAB on black background.
This text has color #837AAB on white background.
This text has black color on #837AAB background.
This text has white color on #837AAB background.