HEX: #958CBA
RGB: (149,140,186)
#958CBA contains red, green and blue colors in about the same proportion. Web safe color of #958CBA is #9999CC (or #99C).
#958CBA color RGB value is (149,140,186).
RGB: (149,140,186) (58%,55%,73%)
R 149 of 255 = 58%
G 140 of 255 = 55%
B 186 of 255 = 73%
R + G + B ~ 62%. #958CBA is quite light color.
R + G + B =
149 + 140 + 186 = 475 (100%)
R 149 of 475 ~ 31.37%
G 140 of 475 ~ 29.47%
B 186 of 475 ~ 39.16%
#958CBA color CMYK value is (20,25,0,27).
CMYK: (20,25,0,27) C20M25Y0K27 (20%,25%,0%,27%) (0.20/0.25/0.00/0.27)
95 | 8C | BA | |
---|---|---|---|
RGB | 149 | 140 | 186 |
HSL | 252° | 25.00% | 63.92% |
HSB/HSV | 252° | 24.73% | 72.94% |
CMYK | 19.89% | 24.73% | 0.00% |
27.06% |
HEX | 95 | 8C | BA |
Decimal | 149 | 140 | 186 |
Binary | 10010101 | 10001100 | 10111010 |
Octal | 225 | 214 | 272 |
Examples of css and html codes for elements with #958CBA color. Also use rgb(149,140,186) instead hex code.
.myTextColor { color: #958CBA; }
<p style="color:#958CBA">This sample text font color is #958CBA.</p>
This text font color is #958CBA.
.myBgColor { background-color: #958CBA; }
<div style="background-color:#958CBA">Inner text</div>
This div background color is #958CBA.
.myBorderColor { border: 1px solid #958CBA; }
<div style="border:3px solid #958CBA">Div</div>
This div border color is #958CBA.
.myOpacity80 { color: #958CBA; opacity: 0.8; }
<p style="color:#958CBA;opacity:0.8;">80%</p>
Text with #958CBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #958CBA;}
<p style="text-shadow: 3px 3px 1px #958CBA">Text here.</p>
This text has shadow with #958CBA color.
.textShadow {text-shadow: 3px 3px 1px #958CBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #958CBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #958CBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#958CBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#958CBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #958CBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #958CBA; -webkit-box-shadow: 1px 1px 3px 2px #958CBA; box-shadow: 1px 1px 3px 2px #958CBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #958CBA; -webkit-box-shadow: 1px 1px 3px 2px #958CBA; box-shadow:1px 1px 3px 2px #958CBA;">
Div content here</div>
This text has color #958CBA on black background.
This text has color #958CBA on white background.
This text has black color on #958CBA background.
This text has white color on #958CBA background.