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