HEX: #968EDB
RGB: (150,142,219)
#968EDB contains mainly blue color. Web safe color of #968EDB is #9999CC (or #99C).
#968EDB color RGB value is (150,142,219).
RGB: (150,142,219) (59%,56%,86%)
R 150 of 255 = 59%
G 142 of 255 = 56%
B 219 of 255 = 86%
R + G + B ~ 67%. #968EDB is quite light color.
R + G + B =
150 + 142 + 219 = 511 (100%)
R 150 of 511 ~ 29.35%
G 142 of 511 ~ 27.79%
B 219 of 511 ~ 42.86%
#968EDB color CMYK value is (32,35,0,14).
CMYK: (32,35,0,14) C32M35Y0K14 (32%,35%,0%,14%) (0.32/0.35/0.00/0.14)
96 | 8E | DB | |
---|---|---|---|
RGB | 150 | 142 | 219 |
HSL | 246° | 51.68% | 70.78% |
HSB/HSV | 246° | 35.16% | 85.88% |
CMYK | 31.51% | 35.16% | 0.00% |
14.12% |
HEX | 96 | 8E | DB |
Decimal | 150 | 142 | 219 |
Binary | 10010110 | 10001110 | 11011011 |
Octal | 226 | 216 | 333 |
Examples of css and html codes for elements with #968EDB color. Also use rgb(150,142,219) instead hex code.
.myTextColor { color: #968EDB; }
<p style="color:#968EDB">This sample text font color is #968EDB.</p>
This text font color is #968EDB.
.myBgColor { background-color: #968EDB; }
<div style="background-color:#968EDB">Inner text</div>
This div background color is #968EDB.
.myBorderColor { border: 1px solid #968EDB; }
<div style="border:3px solid #968EDB">Div</div>
This div border color is #968EDB.
.myOpacity80 { color: #968EDB; opacity: 0.8; }
<p style="color:#968EDB;opacity:0.8;">80%</p>
Text with #968EDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #968EDB;}
<p style="text-shadow: 3px 3px 1px #968EDB">Text here.</p>
This text has shadow with #968EDB color.
.textShadow {text-shadow: 3px 3px 1px #968EDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #968EDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #968EDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#968EDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#968EDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #968EDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #968EDB; -webkit-box-shadow: 1px 1px 3px 2px #968EDB; box-shadow: 1px 1px 3px 2px #968EDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #968EDB; -webkit-box-shadow: 1px 1px 3px 2px #968EDB; box-shadow:1px 1px 3px 2px #968EDB;">
Div content here</div>
This text has color #968EDB on black background.
This text has color #968EDB on white background.
This text has black color on #968EDB background.
This text has white color on #968EDB background.