HEX: #DD9DDC
RGB: (221,157,220)
#DD9DDC contains mainly red and blue colors. Web safe color of #DD9DDC is #CC99CC (or #C9C).
#DD9DDC color RGB value is (221,157,220).
RGB: (221,157,220) (87%,62%,86%)
R 221 of 255 = 87%
G 157 of 255 = 62%
B 220 of 255 = 86%
R + G + B ~ 78%. #DD9DDC is quite light color.
R + G + B =
221 + 157 + 220 = 598 (100%)
R 221 of 598 ~ 36.96%
G 157 of 598 ~ 26.25%
B 220 of 598 ~ 36.79%
#DD9DDC color CMYK value is (0,29,0,13).
CMYK: (0,29,0,13) C0M29Y0K13 (0%,29%,0%,13%) (0.00/0.29/0.00/0.13)
DD | 9D | DC | |
---|---|---|---|
RGB | 221 | 157 | 220 |
HSL | 301° | 48.48% | 74.12% |
HSB/HSV | 301° | 28.96% | 86.67% |
CMYK | 0.00% | 28.96% | 0.45% |
13.33% |
HEX | DD | 9D | DC |
Decimal | 221 | 157 | 220 |
Binary | 11011101 | 10011101 | 11011100 |
Octal | 335 | 235 | 334 |
Examples of css and html codes for elements with #DD9DDC color. Also use rgb(221,157,220) instead hex code.
.myTextColor { color: #DD9DDC; }
<p style="color:#DD9DDC">This sample text font color is #DD9DDC.</p>
This text font color is #DD9DDC.
.myBgColor { background-color: #DD9DDC; }
<div style="background-color:#DD9DDC">Inner text</div>
This div background color is #DD9DDC.
.myBorderColor { border: 1px solid #DD9DDC; }
<div style="border:3px solid #DD9DDC">Div</div>
This div border color is #DD9DDC.
.myOpacity80 { color: #DD9DDC; opacity: 0.8; }
<p style="color:#DD9DDC;opacity:0.8;">80%</p>
Text with #DD9DDC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DD9DDC;}
<p style="text-shadow: 3px 3px 1px #DD9DDC">Text here.</p>
This text has shadow with #DD9DDC color.
.textShadow {text-shadow: 3px 3px 1px #DD9DDC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DD9DDC, 5px 5px 20px red">Text here.</p>
This text has shadow with #DD9DDC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DD9DDC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DD9DDC, Direction=45, Strength=4)">Text</p>
This text has shadow with #DD9DDC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DD9DDC; -webkit-box-shadow: 1px 1px 3px 2px #DD9DDC; box-shadow: 1px 1px 3px 2px #DD9DDC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DD9DDC; -webkit-box-shadow: 1px 1px 3px 2px #DD9DDC; box-shadow:1px 1px 3px 2px #DD9DDC;">
Div content here</div>
This text has color #DD9DDC on black background.
This text has color #DD9DDC on white background.
This text has black color on #DD9DDC background.
This text has white color on #DD9DDC background.