HEX: #956BD6
RGB: (149,107,214)
#956BD6 contains mainly blue color. Web safe color of #956BD6 is #9966CC (or #96C).
#956BD6 color RGB value is (149,107,214).
RGB: (149,107,214) (58%,42%,84%)
R 149 of 255 = 58%
G 107 of 255 = 42%
B 214 of 255 = 84%
R + G + B ~ 61%. #956BD6 is quite light color.
R + G + B =
149 + 107 + 214 = 470 (100%)
R 149 of 470 ~ 31.7%
G 107 of 470 ~ 22.77%
B 214 of 470 ~ 45.53%
#956BD6 color CMYK value is (30,50,0,16).
CMYK: (30,50,0,16) C30M50Y0K16 (30%,50%,0%,16%) (0.30/0.50/0.00/0.16)
95 | 6B | D6 | |
---|---|---|---|
RGB | 149 | 107 | 214 |
HSL | 264° | 56.61% | 62.94% |
HSB/HSV | 264° | 50.00% | 83.92% |
CMYK | 30.37% | 50.00% | 0.00% |
16.08% |
HEX | 95 | 6B | D6 |
Decimal | 149 | 107 | 214 |
Binary | 10010101 | 1101011 | 11010110 |
Octal | 225 | 153 | 326 |
Examples of css and html codes for elements with #956BD6 color. Also use rgb(149,107,214) instead hex code.
.myTextColor { color: #956BD6; }
<p style="color:#956BD6">This sample text font color is #956BD6.</p>
This text font color is #956BD6.
.myBgColor { background-color: #956BD6; }
<div style="background-color:#956BD6">Inner text</div>
This div background color is #956BD6.
.myBorderColor { border: 1px solid #956BD6; }
<div style="border:3px solid #956BD6">Div</div>
This div border color is #956BD6.
.myOpacity80 { color: #956BD6; opacity: 0.8; }
<p style="color:#956BD6;opacity:0.8;">80%</p>
Text with #956BD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #956BD6;}
<p style="text-shadow: 3px 3px 1px #956BD6">Text here.</p>
This text has shadow with #956BD6 color.
.textShadow {text-shadow: 3px 3px 1px #956BD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #956BD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #956BD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#956BD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#956BD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #956BD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #956BD6; -webkit-box-shadow: 1px 1px 3px 2px #956BD6; box-shadow: 1px 1px 3px 2px #956BD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #956BD6; -webkit-box-shadow: 1px 1px 3px 2px #956BD6; box-shadow:1px 1px 3px 2px #956BD6;">
Div content here</div>
This text has color #956BD6 on black background.
This text has color #956BD6 on white background.
This text has black color on #956BD6 background.
This text has white color on #956BD6 background.