HEX: #D980B3
RGB: (217,128,179)
#D980B3 contains mainly red and blue colors. Web safe color of #D980B3 is #CC6699 (or #C69).
#D980B3 color RGB value is (217,128,179).
RGB: (217,128,179) (85%,50%,70%)
R 217 of 255 = 85%
G 128 of 255 = 50%
B 179 of 255 = 70%
R + G + B ~ 68%. #D980B3 is quite light color.
R + G + B =
217 + 128 + 179 = 524 (100%)
R 217 of 524 ~ 41.41%
G 128 of 524 ~ 24.43%
B 179 of 524 ~ 34.16%
#D980B3 color CMYK value is (0,41,18,15).
CMYK: (0,41,18,15) C0M41Y18K15 (0%,41%,18%,15%) (0.00/0.41/0.18/0.15)
D9 | 80 | B3 | |
---|---|---|---|
RGB | 217 | 128 | 179 |
HSL | 326° | 53.94% | 67.65% |
HSB/HSV | 326° | 41.01% | 85.10% |
CMYK | 0.00% | 41.01% | 17.51% |
14.90% |
HEX | D9 | 80 | B3 |
Decimal | 217 | 128 | 179 |
Binary | 11011001 | 10000000 | 10110011 |
Octal | 331 | 200 | 263 |
Examples of css and html codes for elements with #D980B3 color. Also use rgb(217,128,179) instead hex code.
.myTextColor { color: #D980B3; }
<p style="color:#D980B3">This sample text font color is #D980B3.</p>
This text font color is #D980B3.
.myBgColor { background-color: #D980B3; }
<div style="background-color:#D980B3">Inner text</div>
This div background color is #D980B3.
.myBorderColor { border: 1px solid #D980B3; }
<div style="border:3px solid #D980B3">Div</div>
This div border color is #D980B3.
.myOpacity80 { color: #D980B3; opacity: 0.8; }
<p style="color:#D980B3;opacity:0.8;">80%</p>
Text with #D980B3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D980B3;}
<p style="text-shadow: 3px 3px 1px #D980B3">Text here.</p>
This text has shadow with #D980B3 color.
.textShadow {text-shadow: 3px 3px 1px #D980B3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D980B3, 5px 5px 20px red">Text here.</p>
This text has shadow with #D980B3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D980B3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D980B3, Direction=45, Strength=4)">Text</p>
This text has shadow with #D980B3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D980B3; -webkit-box-shadow: 1px 1px 3px 2px #D980B3; box-shadow: 1px 1px 3px 2px #D980B3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D980B3; -webkit-box-shadow: 1px 1px 3px 2px #D980B3; box-shadow:1px 1px 3px 2px #D980B3;">
Div content here</div>
This text has color #D980B3 on black background.
This text has color #D980B3 on white background.
This text has black color on #D980B3 background.
This text has white color on #D980B3 background.