HEX: #D896EB
RGB: (216,150,235)
#D896EB contains mainly red and blue colors. Web safe color of #D896EB is #CC99FF (or #C9F).
#D896EB color RGB value is (216,150,235).
RGB: (216,150,235) (85%,59%,92%)
R 216 of 255 = 85%
G 150 of 255 = 59%
B 235 of 255 = 92%
R + G + B ~ 79%. #D896EB is quite light color.
R + G + B =
216 + 150 + 235 = 601 (100%)
R 216 of 601 ~ 35.94%
G 150 of 601 ~ 24.96%
B 235 of 601 ~ 39.1%
#D896EB color CMYK value is (8,36,0,8).
CMYK: (8,36,0,8) C8M36Y0K8 (8%,36%,0%,8%) (0.08/0.36/0.00/0.08)
D8 | 96 | EB | |
---|---|---|---|
RGB | 216 | 150 | 235 |
HSL | 287° | 68.00% | 75.49% |
HSB/HSV | 287° | 36.17% | 92.16% |
CMYK | 8.09% | 36.17% | 0.00% |
7.84% |
HEX | D8 | 96 | EB |
Decimal | 216 | 150 | 235 |
Binary | 11011000 | 10010110 | 11101011 |
Octal | 330 | 226 | 353 |
Examples of css and html codes for elements with #D896EB color. Also use rgb(216,150,235) instead hex code.
.myTextColor { color: #D896EB; }
<p style="color:#D896EB">This sample text font color is #D896EB.</p>
This text font color is #D896EB.
.myBgColor { background-color: #D896EB; }
<div style="background-color:#D896EB">Inner text</div>
This div background color is #D896EB.
.myBorderColor { border: 1px solid #D896EB; }
<div style="border:3px solid #D896EB">Div</div>
This div border color is #D896EB.
.myOpacity80 { color: #D896EB; opacity: 0.8; }
<p style="color:#D896EB;opacity:0.8;">80%</p>
Text with #D896EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D896EB;}
<p style="text-shadow: 3px 3px 1px #D896EB">Text here.</p>
This text has shadow with #D896EB color.
.textShadow {text-shadow: 3px 3px 1px #D896EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D896EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D896EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D896EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D896EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D896EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D896EB; -webkit-box-shadow: 1px 1px 3px 2px #D896EB; box-shadow: 1px 1px 3px 2px #D896EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D896EB; -webkit-box-shadow: 1px 1px 3px 2px #D896EB; box-shadow:1px 1px 3px 2px #D896EB;">
Div content here</div>
This text has color #D896EB on black background.
This text has color #D896EB on white background.
This text has black color on #D896EB background.
This text has white color on #D896EB background.