HEX: #DD96DD
RGB: (221,150,221)
#DD96DD contains mainly red and blue colors. Web safe color of #DD96DD is #CC99CC (or #C9C).
#DD96DD color RGB value is (221,150,221).
RGB: (221,150,221) (87%,59%,87%)
R 221 of 255 = 87%
G 150 of 255 = 59%
B 221 of 255 = 87%
R + G + B ~ 78%. #DD96DD is quite light color.
R + G + B =
221 + 150 + 221 = 592 (100%)
R 221 of 592 ~ 37.33%
G 150 of 592 ~ 25.34%
B 221 of 592 ~ 37.33%
#DD96DD color CMYK value is (0,32,0,13).
CMYK: (0,32,0,13) C0M32Y0K13 (0%,32%,0%,13%) (0.00/0.32/0.00/0.13)
DD | 96 | DD | |
---|---|---|---|
RGB | 221 | 150 | 221 |
HSL | 300° | 51.08% | 72.75% |
HSB/HSV | 300° | 32.13% | 86.67% |
CMYK | 0.00% | 32.13% | 0.00% |
13.33% |
HEX | DD | 96 | DD |
Decimal | 221 | 150 | 221 |
Binary | 11011101 | 10010110 | 11011101 |
Octal | 335 | 226 | 335 |
Examples of css and html codes for elements with #DD96DD color. Also use rgb(221,150,221) instead hex code.
.myTextColor { color: #DD96DD; }
<p style="color:#DD96DD">This sample text font color is #DD96DD.</p>
This text font color is #DD96DD.
.myBgColor { background-color: #DD96DD; }
<div style="background-color:#DD96DD">Inner text</div>
This div background color is #DD96DD.
.myBorderColor { border: 1px solid #DD96DD; }
<div style="border:3px solid #DD96DD">Div</div>
This div border color is #DD96DD.
.myOpacity80 { color: #DD96DD; opacity: 0.8; }
<p style="color:#DD96DD;opacity:0.8;">80%</p>
Text with #DD96DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DD96DD;}
<p style="text-shadow: 3px 3px 1px #DD96DD">Text here.</p>
This text has shadow with #DD96DD color.
.textShadow {text-shadow: 3px 3px 1px #DD96DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DD96DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #DD96DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DD96DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DD96DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #DD96DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DD96DD; -webkit-box-shadow: 1px 1px 3px 2px #DD96DD; box-shadow: 1px 1px 3px 2px #DD96DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DD96DD; -webkit-box-shadow: 1px 1px 3px 2px #DD96DD; box-shadow:1px 1px 3px 2px #DD96DD;">
Div content here</div>
This text has color #DD96DD on black background.
This text has color #DD96DD on white background.
This text has black color on #DD96DD background.
This text has white color on #DD96DD background.