HEX: #838BD7
RGB: (131,139,215)
#838BD7 contains mainly blue color. Web safe color of #838BD7 is #9999CC (or #99C).
#838BD7 color RGB value is (131,139,215).
RGB: (131,139,215) (51%,55%,84%)
R 131 of 255 = 51%
G 139 of 255 = 55%
B 215 of 255 = 84%
R + G + B ~ 63%. #838BD7 is quite light color.
R + G + B =
131 + 139 + 215 = 485 (100%)
R 131 of 485 ~ 27.01%
G 139 of 485 ~ 28.66%
B 215 of 485 ~ 44.33%
#838BD7 color CMYK value is (39,35,0,16).
CMYK: (39,35,0,16) C39M35Y0K16 (39%,35%,0%,16%) (0.39/0.35/0.00/0.16)
83 | 8B | D7 | |
---|---|---|---|
RGB | 131 | 139 | 215 |
HSL | 234° | 51.22% | 67.84% |
HSB/HSV | 234° | 39.07% | 84.31% |
CMYK | 39.07% | 35.35% | 0.00% |
15.69% |
HEX | 83 | 8B | D7 |
Decimal | 131 | 139 | 215 |
Binary | 10000011 | 10001011 | 11010111 |
Octal | 203 | 213 | 327 |
Examples of css and html codes for elements with #838BD7 color. Also use rgb(131,139,215) instead hex code.
.myTextColor { color: #838BD7; }
<p style="color:#838BD7">This sample text font color is #838BD7.</p>
This text font color is #838BD7.
.myBgColor { background-color: #838BD7; }
<div style="background-color:#838BD7">Inner text</div>
This div background color is #838BD7.
.myBorderColor { border: 1px solid #838BD7; }
<div style="border:3px solid #838BD7">Div</div>
This div border color is #838BD7.
.myOpacity80 { color: #838BD7; opacity: 0.8; }
<p style="color:#838BD7;opacity:0.8;">80%</p>
Text with #838BD7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #838BD7;}
<p style="text-shadow: 3px 3px 1px #838BD7">Text here.</p>
This text has shadow with #838BD7 color.
.textShadow {text-shadow: 3px 3px 1px #838BD7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #838BD7, 5px 5px 20px red">Text here.</p>
This text has shadow with #838BD7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#838BD7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#838BD7, Direction=45, Strength=4)">Text</p>
This text has shadow with #838BD7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #838BD7; -webkit-box-shadow: 1px 1px 3px 2px #838BD7; box-shadow: 1px 1px 3px 2px #838BD7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #838BD7; -webkit-box-shadow: 1px 1px 3px 2px #838BD7; box-shadow:1px 1px 3px 2px #838BD7;">
Div content here</div>
This text has color #838BD7 on black background.
This text has color #838BD7 on white background.
This text has black color on #838BD7 background.
This text has white color on #838BD7 background.