HEX: #D989F8
RGB: (217,137,248)
#D989F8 contains mainly red and blue colors. Web safe color of #D989F8 is #CC99FF (or #C9F).
#D989F8 color RGB value is (217,137,248).
RGB: (217,137,248) (85%,54%,97%)
R 217 of 255 = 85%
G 137 of 255 = 54%
B 248 of 255 = 97%
R + G + B ~ 79%. #D989F8 is quite light color.
R + G + B =
217 + 137 + 248 = 602 (100%)
R 217 of 602 ~ 36.05%
G 137 of 602 ~ 22.76%
B 248 of 602 ~ 41.2%
#D989F8 color CMYK value is (13,45,0,3).
CMYK: (13,45,0,3) C13M45Y0K3 (13%,45%,0%,3%) (0.13/0.45/0.00/0.03)
D9 | 89 | F8 | |
---|---|---|---|
RGB | 217 | 137 | 248 |
HSL | 283° | 88.80% | 75.49% |
HSB/HSV | 283° | 44.76% | 97.25% |
CMYK | 12.50% | 44.76% | 0.00% |
2.75% |
HEX | D9 | 89 | F8 |
Decimal | 217 | 137 | 248 |
Binary | 11011001 | 10001001 | 11111000 |
Octal | 331 | 211 | 370 |
Examples of css and html codes for elements with #D989F8 color. Also use rgb(217,137,248) instead hex code.
.myTextColor { color: #D989F8; }
<p style="color:#D989F8">This sample text font color is #D989F8.</p>
This text font color is #D989F8.
.myBgColor { background-color: #D989F8; }
<div style="background-color:#D989F8">Inner text</div>
This div background color is #D989F8.
.myBorderColor { border: 1px solid #D989F8; }
<div style="border:3px solid #D989F8">Div</div>
This div border color is #D989F8.
.myOpacity80 { color: #D989F8; opacity: 0.8; }
<p style="color:#D989F8;opacity:0.8;">80%</p>
Text with #D989F8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D989F8;}
<p style="text-shadow: 3px 3px 1px #D989F8">Text here.</p>
This text has shadow with #D989F8 color.
.textShadow {text-shadow: 3px 3px 1px #D989F8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D989F8, 5px 5px 20px red">Text here.</p>
This text has shadow with #D989F8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D989F8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D989F8, Direction=45, Strength=4)">Text</p>
This text has shadow with #D989F8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D989F8; -webkit-box-shadow: 1px 1px 3px 2px #D989F8; box-shadow: 1px 1px 3px 2px #D989F8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D989F8; -webkit-box-shadow: 1px 1px 3px 2px #D989F8; box-shadow:1px 1px 3px 2px #D989F8;">
Div content here</div>
This text has color #D989F8 on black background.
This text has color #D989F8 on white background.
This text has black color on #D989F8 background.
This text has white color on #D989F8 background.