HEX: #988CC8
RGB: (152,140,200)
#988CC8 contains mainly red and blue colors. Web safe color of #988CC8 is #9999CC (or #99C).
#988CC8 color RGB value is (152,140,200).
RGB: (152,140,200) (60%,55%,78%)
R 152 of 255 = 60%
G 140 of 255 = 55%
B 200 of 255 = 78%
R + G + B ~ 64%. #988CC8 is quite light color.
R + G + B =
152 + 140 + 200 = 492 (100%)
R 152 of 492 ~ 30.89%
G 140 of 492 ~ 28.46%
B 200 of 492 ~ 40.65%
#988CC8 color CMYK value is (24,30,0,22).
CMYK: (24,30,0,22) C24M30Y0K22 (24%,30%,0%,22%) (0.24/0.30/0.00/0.22)
98 | 8C | C8 | |
---|---|---|---|
RGB | 152 | 140 | 200 |
HSL | 252° | 35.29% | 66.67% |
HSB/HSV | 252° | 30.00% | 78.43% |
CMYK | 24.00% | 30.00% | 0.00% |
21.57% |
HEX | 98 | 8C | C8 |
Decimal | 152 | 140 | 200 |
Binary | 10011000 | 10001100 | 11001000 |
Octal | 230 | 214 | 310 |
Examples of css and html codes for elements with #988CC8 color. Also use rgb(152,140,200) instead hex code.
.myTextColor { color: #988CC8; }
<p style="color:#988CC8">This sample text font color is #988CC8.</p>
This text font color is #988CC8.
.myBgColor { background-color: #988CC8; }
<div style="background-color:#988CC8">Inner text</div>
This div background color is #988CC8.
.myBorderColor { border: 1px solid #988CC8; }
<div style="border:3px solid #988CC8">Div</div>
This div border color is #988CC8.
.myOpacity80 { color: #988CC8; opacity: 0.8; }
<p style="color:#988CC8;opacity:0.8;">80%</p>
Text with #988CC8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988CC8;}
<p style="text-shadow: 3px 3px 1px #988CC8">Text here.</p>
This text has shadow with #988CC8 color.
.textShadow {text-shadow: 3px 3px 1px #988CC8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988CC8, 5px 5px 20px red">Text here.</p>
This text has shadow with #988CC8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988CC8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988CC8, Direction=45, Strength=4)">Text</p>
This text has shadow with #988CC8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988CC8; -webkit-box-shadow: 1px 1px 3px 2px #988CC8; box-shadow: 1px 1px 3px 2px #988CC8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988CC8; -webkit-box-shadow: 1px 1px 3px 2px #988CC8; box-shadow:1px 1px 3px 2px #988CC8;">
Div content here</div>
This text has color #988CC8 on black background.
This text has color #988CC8 on white background.
This text has black color on #988CC8 background.
This text has white color on #988CC8 background.