HEX: #838AAB
RGB: (131,138,171)
#838AAB contains red, green and blue colors in about the same proportion. Web safe color of #838AAB is #999999 (or #999).
#838AAB color RGB value is (131,138,171).
RGB: (131,138,171) (51%,54%,67%)
R 131 of 255 = 51%
G 138 of 255 = 54%
B 171 of 255 = 67%
R + G + B ~ 57%. #838AAB is middle color (not dark and not light).
R + G + B =
131 + 138 + 171 = 440 (100%)
R 131 of 440 ~ 29.77%
G 138 of 440 ~ 31.36%
B 171 of 440 ~ 38.86%
#838AAB color CMYK value is (23,19,0,33).
CMYK: (23,19,0,33) C23M19Y0K33 (23%,19%,0%,33%) (0.23/0.19/0.00/0.33)
83 | 8A | AB | |
---|---|---|---|
RGB | 131 | 138 | 171 |
HSL | 230° | 19.23% | 59.22% |
HSB/HSV | 230° | 23.39% | 67.06% |
CMYK | 23.39% | 19.30% | 0.00% |
32.94% |
HEX | 83 | 8A | AB |
Decimal | 131 | 138 | 171 |
Binary | 10000011 | 10001010 | 10101011 |
Octal | 203 | 212 | 253 |
Examples of css and html codes for elements with #838AAB color. Also use rgb(131,138,171) instead hex code.
.myTextColor { color: #838AAB; }
<p style="color:#838AAB">This sample text font color is #838AAB.</p>
This text font color is #838AAB.
.myBgColor { background-color: #838AAB; }
<div style="background-color:#838AAB">Inner text</div>
This div background color is #838AAB.
.myBorderColor { border: 1px solid #838AAB; }
<div style="border:3px solid #838AAB">Div</div>
This div border color is #838AAB.
.myOpacity80 { color: #838AAB; opacity: 0.8; }
<p style="color:#838AAB;opacity:0.8;">80%</p>
Text with #838AAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #838AAB;}
<p style="text-shadow: 3px 3px 1px #838AAB">Text here.</p>
This text has shadow with #838AAB color.
.textShadow {text-shadow: 3px 3px 1px #838AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #838AAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #838AAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#838AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#838AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #838AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #838AAB; -webkit-box-shadow: 1px 1px 3px 2px #838AAB; box-shadow: 1px 1px 3px 2px #838AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #838AAB; -webkit-box-shadow: 1px 1px 3px 2px #838AAB; box-shadow:1px 1px 3px 2px #838AAB;">
Div content here</div>
This text has color #838AAB on black background.
This text has color #838AAB on white background.
This text has black color on #838AAB background.
This text has white color on #838AAB background.