HEX: #D997FC
RGB: (217,151,252)
#D997FC contains mainly red and blue colors. Web safe color of #D997FC is #CC99FF (or #C9F).
#D997FC color RGB value is (217,151,252).
RGB: (217,151,252) (85%,59%,99%)
R 217 of 255 = 85%
G 151 of 255 = 59%
B 252 of 255 = 99%
R + G + B ~ 81%. #D997FC is quite light color.
R + G + B =
217 + 151 + 252 = 620 (100%)
R 217 of 620 ~ 35%
G 151 of 620 ~ 24.35%
B 252 of 620 ~ 40.65%
#D997FC color CMYK value is (14,40,0,1).
CMYK: (14,40,0,1) C14M40Y0K1 (14%,40%,0%,1%) (0.14/0.40/0.00/0.01)
D9 | 97 | FC | |
---|---|---|---|
RGB | 217 | 151 | 252 |
HSL | 279° | 94.39% | 79.02% |
HSB/HSV | 279° | 40.08% | 98.82% |
CMYK | 13.89% | 40.08% | 0.00% |
1.18% |
HEX | D9 | 97 | FC |
Decimal | 217 | 151 | 252 |
Binary | 11011001 | 10010111 | 11111100 |
Octal | 331 | 227 | 374 |
Examples of css and html codes for elements with #D997FC color. Also use rgb(217,151,252) instead hex code.
.myTextColor { color: #D997FC; }
<p style="color:#D997FC">This sample text font color is #D997FC.</p>
This text font color is #D997FC.
.myBgColor { background-color: #D997FC; }
<div style="background-color:#D997FC">Inner text</div>
This div background color is #D997FC.
.myBorderColor { border: 1px solid #D997FC; }
<div style="border:3px solid #D997FC">Div</div>
This div border color is #D997FC.
.myOpacity80 { color: #D997FC; opacity: 0.8; }
<p style="color:#D997FC;opacity:0.8;">80%</p>
Text with #D997FC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D997FC;}
<p style="text-shadow: 3px 3px 1px #D997FC">Text here.</p>
This text has shadow with #D997FC color.
.textShadow {text-shadow: 3px 3px 1px #D997FC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D997FC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D997FC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D997FC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D997FC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D997FC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D997FC; -webkit-box-shadow: 1px 1px 3px 2px #D997FC; box-shadow: 1px 1px 3px 2px #D997FC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D997FC; -webkit-box-shadow: 1px 1px 3px 2px #D997FC; box-shadow:1px 1px 3px 2px #D997FC;">
Div content here</div>
This text has color #D997FC on black background.
This text has color #D997FC on white background.
This text has black color on #D997FC background.
This text has white color on #D997FC background.