HEX: #956EF6
RGB: (149,110,246)
#956EF6 contains mainly blue color. Web safe color of #956EF6 is #9966FF (or #96F).
#956EF6 color RGB value is (149,110,246).
RGB: (149,110,246) (58%,43%,96%)
R 149 of 255 = 58%
G 110 of 255 = 43%
B 246 of 255 = 96%
R + G + B ~ 66%. #956EF6 is quite light color.
R + G + B =
149 + 110 + 246 = 505 (100%)
R 149 of 505 ~ 29.5%
G 110 of 505 ~ 21.78%
B 246 of 505 ~ 48.71%
#956EF6 color CMYK value is (39,55,0,4).
CMYK: (39,55,0,4) C39M55Y0K4 (39%,55%,0%,4%) (0.39/0.55/0.00/0.04)
95 | 6E | F6 | |
---|---|---|---|
RGB | 149 | 110 | 246 |
HSL | 257° | 88.31% | 69.80% |
HSB/HSV | 257° | 55.28% | 96.47% |
CMYK | 39.43% | 55.28% | 0.00% |
3.53% |
HEX | 95 | 6E | F6 |
Decimal | 149 | 110 | 246 |
Binary | 10010101 | 1101110 | 11110110 |
Octal | 225 | 156 | 366 |
Examples of css and html codes for elements with #956EF6 color. Also use rgb(149,110,246) instead hex code.
.myTextColor { color: #956EF6; }
<p style="color:#956EF6">This sample text font color is #956EF6.</p>
This text font color is #956EF6.
.myBgColor { background-color: #956EF6; }
<div style="background-color:#956EF6">Inner text</div>
This div background color is #956EF6.
.myBorderColor { border: 1px solid #956EF6; }
<div style="border:3px solid #956EF6">Div</div>
This div border color is #956EF6.
.myOpacity80 { color: #956EF6; opacity: 0.8; }
<p style="color:#956EF6;opacity:0.8;">80%</p>
Text with #956EF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #956EF6;}
<p style="text-shadow: 3px 3px 1px #956EF6">Text here.</p>
This text has shadow with #956EF6 color.
.textShadow {text-shadow: 3px 3px 1px #956EF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #956EF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #956EF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#956EF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#956EF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #956EF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #956EF6; -webkit-box-shadow: 1px 1px 3px 2px #956EF6; box-shadow: 1px 1px 3px 2px #956EF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #956EF6; -webkit-box-shadow: 1px 1px 3px 2px #956EF6; box-shadow:1px 1px 3px 2px #956EF6;">
Div content here</div>
This text has color #956EF6 on black background.
This text has color #956EF6 on white background.
This text has black color on #956EF6 background.
This text has white color on #956EF6 background.