HEX: #D799DD
RGB: (215,153,221)
#D799DD contains mainly red and blue colors. Web safe color of #D799DD is #CC99CC (or #C9C).
#D799DD color RGB value is (215,153,221).
RGB: (215,153,221) (84%,60%,87%)
R 215 of 255 = 84%
G 153 of 255 = 60%
B 221 of 255 = 87%
R + G + B ~ 77%. #D799DD is quite light color.
R + G + B =
215 + 153 + 221 = 589 (100%)
R 215 of 589 ~ 36.5%
G 153 of 589 ~ 25.98%
B 221 of 589 ~ 37.52%
#D799DD color CMYK value is (3,31,0,13).
CMYK: (3,31,0,13) C3M31Y0K13 (3%,31%,0%,13%) (0.03/0.31/0.00/0.13)
D7 | 99 | DD | |
---|---|---|---|
RGB | 215 | 153 | 221 |
HSL | 295° | 50.00% | 73.33% |
HSB/HSV | 295° | 30.77% | 86.67% |
CMYK | 2.71% | 30.77% | 0.00% |
13.33% |
HEX | D7 | 99 | DD |
Decimal | 215 | 153 | 221 |
Binary | 11010111 | 10011001 | 11011101 |
Octal | 327 | 231 | 335 |
Examples of css and html codes for elements with #D799DD color. Also use rgb(215,153,221) instead hex code.
.myTextColor { color: #D799DD; }
<p style="color:#D799DD">This sample text font color is #D799DD.</p>
This text font color is #D799DD.
.myBgColor { background-color: #D799DD; }
<div style="background-color:#D799DD">Inner text</div>
This div background color is #D799DD.
.myBorderColor { border: 1px solid #D799DD; }
<div style="border:3px solid #D799DD">Div</div>
This div border color is #D799DD.
.myOpacity80 { color: #D799DD; opacity: 0.8; }
<p style="color:#D799DD;opacity:0.8;">80%</p>
Text with #D799DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D799DD;}
<p style="text-shadow: 3px 3px 1px #D799DD">Text here.</p>
This text has shadow with #D799DD color.
.textShadow {text-shadow: 3px 3px 1px #D799DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D799DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D799DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D799DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D799DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D799DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D799DD; -webkit-box-shadow: 1px 1px 3px 2px #D799DD; box-shadow: 1px 1px 3px 2px #D799DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D799DD; -webkit-box-shadow: 1px 1px 3px 2px #D799DD; box-shadow:1px 1px 3px 2px #D799DD;">
Div content here</div>
This text has color #D799DD on black background.
This text has color #D799DD on white background.
This text has black color on #D799DD background.
This text has white color on #D799DD background.