HEX: #986988
RGB: (152,105,136)
#986988 contains red, green and blue colors in about the same proportion. Web safe color of #986988 is #996699 (or #969).
#986988 color RGB value is (152,105,136).
RGB: (152,105,136) (60%,41%,53%)
R 152 of 255 = 60%
G 105 of 255 = 41%
B 136 of 255 = 53%
R + G + B ~ 51%. #986988 is middle color (not dark and not light).
R + G + B =
152 + 105 + 136 = 393 (100%)
R 152 of 393 ~ 38.68%
G 105 of 393 ~ 26.72%
B 136 of 393 ~ 34.61%
#986988 color CMYK value is (0,31,11,40).
CMYK: (0,31,11,40) C0M31Y11K40 (0%,31%,11%,40%) (0.00/0.31/0.11/0.40)
98 | 69 | 88 | |
---|---|---|---|
RGB | 152 | 105 | 136 |
HSL | 320° | 18.58% | 50.39% |
HSB/HSV | 320° | 30.92% | 59.61% |
CMYK | 0.00% | 30.92% | 10.53% |
40.39% |
HEX | 98 | 69 | 88 |
Decimal | 152 | 105 | 136 |
Binary | 10011000 | 1101001 | 10001000 |
Octal | 230 | 151 | 210 |
Examples of css and html codes for elements with #986988 color. Also use rgb(152,105,136) instead hex code.
.myTextColor { color: #986988; }
<p style="color:#986988">This sample text font color is #986988.</p>
This text font color is #986988.
.myBgColor { background-color: #986988; }
<div style="background-color:#986988">Inner text</div>
This div background color is #986988.
.myBorderColor { border: 1px solid #986988; }
<div style="border:3px solid #986988">Div</div>
This div border color is #986988.
.myOpacity80 { color: #986988; opacity: 0.8; }
<p style="color:#986988;opacity:0.8;">80%</p>
Text with #986988 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #986988;}
<p style="text-shadow: 3px 3px 1px #986988">Text here.</p>
This text has shadow with #986988 color.
.textShadow {text-shadow: 3px 3px 1px #986988, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #986988, 5px 5px 20px red">Text here.</p>
This text has shadow with #986988 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#986988, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#986988, Direction=45, Strength=4)">Text</p>
This text has shadow with #986988 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #986988; -webkit-box-shadow: 1px 1px 3px 2px #986988; box-shadow: 1px 1px 3px 2px #986988; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #986988; -webkit-box-shadow: 1px 1px 3px 2px #986988; box-shadow:1px 1px 3px 2px #986988;">
Div content here</div>
This text has color #986988 on black background.
This text has color #986988 on white background.
This text has black color on #986988 background.
This text has white color on #986988 background.