HEX: #956CBB
RGB: (149,108,187)
#956CBB contains mainly red and blue colors. Web safe color of #956CBB is #9966CC (or #96C).
#956CBB color RGB value is (149,108,187).
RGB: (149,108,187) (58%,42%,73%)
R 149 of 255 = 58%
G 108 of 255 = 42%
B 187 of 255 = 73%
R + G + B ~ 58%. #956CBB is middle color (not dark and not light).
R + G + B =
149 + 108 + 187 = 444 (100%)
R 149 of 444 ~ 33.56%
G 108 of 444 ~ 24.32%
B 187 of 444 ~ 42.12%
#956CBB color CMYK value is (20,42,0,27).
CMYK: (20,42,0,27) C20M42Y0K27 (20%,42%,0%,27%) (0.20/0.42/0.00/0.27)
95 | 6C | BB | |
---|---|---|---|
RGB | 149 | 108 | 187 |
HSL | 271° | 36.74% | 57.84% |
HSB/HSV | 271° | 42.25% | 73.33% |
CMYK | 20.32% | 42.25% | 0.00% |
26.67% |
HEX | 95 | 6C | BB |
Decimal | 149 | 108 | 187 |
Binary | 10010101 | 1101100 | 10111011 |
Octal | 225 | 154 | 273 |
Examples of css and html codes for elements with #956CBB color. Also use rgb(149,108,187) instead hex code.
.myTextColor { color: #956CBB; }
<p style="color:#956CBB">This sample text font color is #956CBB.</p>
This text font color is #956CBB.
.myBgColor { background-color: #956CBB; }
<div style="background-color:#956CBB">Inner text</div>
This div background color is #956CBB.
.myBorderColor { border: 1px solid #956CBB; }
<div style="border:3px solid #956CBB">Div</div>
This div border color is #956CBB.
.myOpacity80 { color: #956CBB; opacity: 0.8; }
<p style="color:#956CBB;opacity:0.8;">80%</p>
Text with #956CBB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #956CBB;}
<p style="text-shadow: 3px 3px 1px #956CBB">Text here.</p>
This text has shadow with #956CBB color.
.textShadow {text-shadow: 3px 3px 1px #956CBB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #956CBB, 5px 5px 20px red">Text here.</p>
This text has shadow with #956CBB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#956CBB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#956CBB, Direction=45, Strength=4)">Text</p>
This text has shadow with #956CBB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #956CBB; -webkit-box-shadow: 1px 1px 3px 2px #956CBB; box-shadow: 1px 1px 3px 2px #956CBB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #956CBB; -webkit-box-shadow: 1px 1px 3px 2px #956CBB; box-shadow:1px 1px 3px 2px #956CBB;">
Div content here</div>
This text has color #956CBB on black background.
This text has color #956CBB on white background.
This text has black color on #956CBB background.
This text has white color on #956CBB background.