HEX: #988FAF
RGB: (152,143,175)
#988FAF contains red, green and blue colors in about the same proportion. Web safe color of #988FAF is #999999 (or #999).
#988FAF color RGB value is (152,143,175).
RGB: (152,143,175) (60%,56%,69%)
R 152 of 255 = 60%
G 143 of 255 = 56%
B 175 of 255 = 69%
R + G + B ~ 62%. #988FAF is quite light color.
R + G + B =
152 + 143 + 175 = 470 (100%)
R 152 of 470 ~ 32.34%
G 143 of 470 ~ 30.43%
B 175 of 470 ~ 37.23%
#988FAF color CMYK value is (13,18,0,31).
CMYK: (13,18,0,31) C13M18Y0K31 (13%,18%,0%,31%) (0.13/0.18/0.00/0.31)
98 | 8F | AF | |
---|---|---|---|
RGB | 152 | 143 | 175 |
HSL | 257° | 16.67% | 62.35% |
HSB/HSV | 257° | 18.29% | 68.63% |
CMYK | 13.14% | 18.29% | 0.00% |
31.37% |
HEX | 98 | 8F | AF |
Decimal | 152 | 143 | 175 |
Binary | 10011000 | 10001111 | 10101111 |
Octal | 230 | 217 | 257 |
Examples of css and html codes for elements with #988FAF color. Also use rgb(152,143,175) instead hex code.
.myTextColor { color: #988FAF; }
<p style="color:#988FAF">This sample text font color is #988FAF.</p>
This text font color is #988FAF.
.myBgColor { background-color: #988FAF; }
<div style="background-color:#988FAF">Inner text</div>
This div background color is #988FAF.
.myBorderColor { border: 1px solid #988FAF; }
<div style="border:3px solid #988FAF">Div</div>
This div border color is #988FAF.
.myOpacity80 { color: #988FAF; opacity: 0.8; }
<p style="color:#988FAF;opacity:0.8;">80%</p>
Text with #988FAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988FAF;}
<p style="text-shadow: 3px 3px 1px #988FAF">Text here.</p>
This text has shadow with #988FAF color.
.textShadow {text-shadow: 3px 3px 1px #988FAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988FAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #988FAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988FAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988FAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #988FAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988FAF; -webkit-box-shadow: 1px 1px 3px 2px #988FAF; box-shadow: 1px 1px 3px 2px #988FAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988FAF; -webkit-box-shadow: 1px 1px 3px 2px #988FAF; box-shadow:1px 1px 3px 2px #988FAF;">
Div content here</div>
This text has color #988FAF on black background.
This text has color #988FAF on white background.
This text has black color on #988FAF background.
This text has white color on #988FAF background.