HEX: #998ADB
RGB: (153,138,219)
#998ADB contains mainly blue color. Web safe color of #998ADB is #9999CC (or #99C).
#998ADB color RGB value is (153,138,219).
RGB: (153,138,219) (60%,54%,86%)
R 153 of 255 = 60%
G 138 of 255 = 54%
B 219 of 255 = 86%
R + G + B ~ 67%. #998ADB is quite light color.
R + G + B =
153 + 138 + 219 = 510 (100%)
R 153 of 510 ~ 30%
G 138 of 510 ~ 27.06%
B 219 of 510 ~ 42.94%
#998ADB color CMYK value is (30,37,0,14).
CMYK: (30,37,0,14) C30M37Y0K14 (30%,37%,0%,14%) (0.30/0.37/0.00/0.14)
99 | 8A | DB | |
---|---|---|---|
RGB | 153 | 138 | 219 |
HSL | 251° | 52.94% | 70.00% |
HSB/HSV | 251° | 36.99% | 85.88% |
CMYK | 30.14% | 36.99% | 0.00% |
14.12% |
HEX | 99 | 8A | DB |
Decimal | 153 | 138 | 219 |
Binary | 10011001 | 10001010 | 11011011 |
Octal | 231 | 212 | 333 |
Examples of css and html codes for elements with #998ADB color. Also use rgb(153,138,219) instead hex code.
.myTextColor { color: #998ADB; }
<p style="color:#998ADB">This sample text font color is #998ADB.</p>
This text font color is #998ADB.
.myBgColor { background-color: #998ADB; }
<div style="background-color:#998ADB">Inner text</div>
This div background color is #998ADB.
.myBorderColor { border: 1px solid #998ADB; }
<div style="border:3px solid #998ADB">Div</div>
This div border color is #998ADB.
.myOpacity80 { color: #998ADB; opacity: 0.8; }
<p style="color:#998ADB;opacity:0.8;">80%</p>
Text with #998ADB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998ADB;}
<p style="text-shadow: 3px 3px 1px #998ADB">Text here.</p>
This text has shadow with #998ADB color.
.textShadow {text-shadow: 3px 3px 1px #998ADB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998ADB, 5px 5px 20px red">Text here.</p>
This text has shadow with #998ADB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998ADB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998ADB, Direction=45, Strength=4)">Text</p>
This text has shadow with #998ADB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998ADB; -webkit-box-shadow: 1px 1px 3px 2px #998ADB; box-shadow: 1px 1px 3px 2px #998ADB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998ADB; -webkit-box-shadow: 1px 1px 3px 2px #998ADB; box-shadow:1px 1px 3px 2px #998ADB;">
Div content here</div>
This text has color #998ADB on black background.
This text has color #998ADB on white background.
This text has black color on #998ADB background.
This text has white color on #998ADB background.