HEX: #98A5DC
RGB: (152,165,220)
#98A5DC contains mainly green and blue colors. Web safe color of #98A5DC is #9999CC (or #99C).
#98A5DC color RGB value is (152,165,220).
RGB: (152,165,220) (60%,65%,86%)
R 152 of 255 = 60%
G 165 of 255 = 65%
B 220 of 255 = 86%
R + G + B ~ 70%. #98A5DC is quite light color.
R + G + B =
152 + 165 + 220 = 537 (100%)
R 152 of 537 ~ 28.31%
G 165 of 537 ~ 30.73%
B 220 of 537 ~ 40.97%
#98A5DC color CMYK value is (31,25,0,14).
CMYK: (31,25,0,14) C31M25Y0K14 (31%,25%,0%,14%) (0.31/0.25/0.00/0.14)
98 | A5 | DC | |
---|---|---|---|
RGB | 152 | 165 | 220 |
HSL | 229° | 49.28% | 72.94% |
HSB/HSV | 229° | 30.91% | 86.27% |
CMYK | 30.91% | 25.00% | 0.00% |
13.73% |
HEX | 98 | A5 | DC |
Decimal | 152 | 165 | 220 |
Binary | 10011000 | 10100101 | 11011100 |
Octal | 230 | 245 | 334 |
Examples of css and html codes for elements with #98A5DC color. Also use rgb(152,165,220) instead hex code.
.myTextColor { color: #98A5DC; }
<p style="color:#98A5DC">This sample text font color is #98A5DC.</p>
This text font color is #98A5DC.
.myBgColor { background-color: #98A5DC; }
<div style="background-color:#98A5DC">Inner text</div>
This div background color is #98A5DC.
.myBorderColor { border: 1px solid #98A5DC; }
<div style="border:3px solid #98A5DC">Div</div>
This div border color is #98A5DC.
.myOpacity80 { color: #98A5DC; opacity: 0.8; }
<p style="color:#98A5DC;opacity:0.8;">80%</p>
Text with #98A5DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #98A5DC;}
<p style="text-shadow: 3px 3px 1px #98A5DC">Text here.</p>
This text has shadow with #98A5DC color.
.textShadow {text-shadow: 3px 3px 1px #98A5DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #98A5DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #98A5DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#98A5DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#98A5DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #98A5DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #98A5DC; -webkit-box-shadow: 1px 1px 3px 2px #98A5DC; box-shadow: 1px 1px 3px 2px #98A5DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #98A5DC; -webkit-box-shadow: 1px 1px 3px 2px #98A5DC; box-shadow:1px 1px 3px 2px #98A5DC;">
Div content here</div>
This text has color #98A5DC on black background.
This text has color #98A5DC on white background.
This text has black color on #98A5DC background.
This text has white color on #98A5DC background.