HEX: #988CBE
RGB: (152,140,190)
#988CBE contains red, green and blue colors in about the same proportion. Web safe color of #988CBE is #9999CC (or #99C).
#988CBE color RGB value is (152,140,190).
RGB: (152,140,190) (60%,55%,75%)
R 152 of 255 = 60%
G 140 of 255 = 55%
B 190 of 255 = 75%
R + G + B ~ 63%. #988CBE is quite light color.
R + G + B =
152 + 140 + 190 = 482 (100%)
R 152 of 482 ~ 31.54%
G 140 of 482 ~ 29.05%
B 190 of 482 ~ 39.42%
#988CBE color CMYK value is (20,26,0,25).
CMYK: (20,26,0,25) C20M26Y0K25 (20%,26%,0%,25%) (0.20/0.26/0.00/0.25)
98 | 8C | BE | |
---|---|---|---|
RGB | 152 | 140 | 190 |
HSL | 254° | 27.78% | 64.71% |
HSB/HSV | 254° | 26.32% | 74.51% |
CMYK | 20.00% | 26.32% | 0.00% |
25.49% |
HEX | 98 | 8C | BE |
Decimal | 152 | 140 | 190 |
Binary | 10011000 | 10001100 | 10111110 |
Octal | 230 | 214 | 276 |
Examples of css and html codes for elements with #988CBE color. Also use rgb(152,140,190) instead hex code.
.myTextColor { color: #988CBE; }
<p style="color:#988CBE">This sample text font color is #988CBE.</p>
This text font color is #988CBE.
.myBgColor { background-color: #988CBE; }
<div style="background-color:#988CBE">Inner text</div>
This div background color is #988CBE.
.myBorderColor { border: 1px solid #988CBE; }
<div style="border:3px solid #988CBE">Div</div>
This div border color is #988CBE.
.myOpacity80 { color: #988CBE; opacity: 0.8; }
<p style="color:#988CBE;opacity:0.8;">80%</p>
Text with #988CBE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988CBE;}
<p style="text-shadow: 3px 3px 1px #988CBE">Text here.</p>
This text has shadow with #988CBE color.
.textShadow {text-shadow: 3px 3px 1px #988CBE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988CBE, 5px 5px 20px red">Text here.</p>
This text has shadow with #988CBE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988CBE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988CBE, Direction=45, Strength=4)">Text</p>
This text has shadow with #988CBE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988CBE; -webkit-box-shadow: 1px 1px 3px 2px #988CBE; box-shadow: 1px 1px 3px 2px #988CBE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988CBE; -webkit-box-shadow: 1px 1px 3px 2px #988CBE; box-shadow:1px 1px 3px 2px #988CBE;">
Div content here</div>
This text has color #988CBE on black background.
This text has color #988CBE on white background.
This text has black color on #988CBE background.
This text has white color on #988CBE background.