HEX: #DEB2EB
RGB: (222,178,235)
#DEB2EB contains red, green and blue colors in about the same proportion. Web safe color of #DEB2EB is #CC99FF (or #C9F).
#DEB2EB color RGB value is (222,178,235).
RGB: (222,178,235) (87%,70%,92%)
R 222 of 255 = 87%
G 178 of 255 = 70%
B 235 of 255 = 92%
R + G + B ~ 83%. #DEB2EB is quite light color.
R + G + B =
222 + 178 + 235 = 635 (100%)
R 222 of 635 ~ 34.96%
G 178 of 635 ~ 28.03%
B 235 of 635 ~ 37.01%
#DEB2EB color CMYK value is (6,24,0,8).
CMYK: (6,24,0,8) C6M24Y0K8 (6%,24%,0%,8%) (0.06/0.24/0.00/0.08)
DE | B2 | EB | |
---|---|---|---|
RGB | 222 | 178 | 235 |
HSL | 286° | 58.76% | 80.98% |
HSB/HSV | 286° | 24.26% | 92.16% |
CMYK | 5.53% | 24.26% | 0.00% |
7.84% |
HEX | DE | B2 | EB |
Decimal | 222 | 178 | 235 |
Binary | 11011110 | 10110010 | 11101011 |
Octal | 336 | 262 | 353 |
Examples of css and html codes for elements with #DEB2EB color. Also use rgb(222,178,235) instead hex code.
.myTextColor { color: #DEB2EB; }
<p style="color:#DEB2EB">This sample text font color is #DEB2EB.</p>
This text font color is #DEB2EB.
.myBgColor { background-color: #DEB2EB; }
<div style="background-color:#DEB2EB">Inner text</div>
This div background color is #DEB2EB.
.myBorderColor { border: 1px solid #DEB2EB; }
<div style="border:3px solid #DEB2EB">Div</div>
This div border color is #DEB2EB.
.myOpacity80 { color: #DEB2EB; opacity: 0.8; }
<p style="color:#DEB2EB;opacity:0.8;">80%</p>
Text with #DEB2EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEB2EB;}
<p style="text-shadow: 3px 3px 1px #DEB2EB">Text here.</p>
This text has shadow with #DEB2EB color.
.textShadow {text-shadow: 3px 3px 1px #DEB2EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEB2EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEB2EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEB2EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEB2EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEB2EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEB2EB; -webkit-box-shadow: 1px 1px 3px 2px #DEB2EB; box-shadow: 1px 1px 3px 2px #DEB2EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEB2EB; -webkit-box-shadow: 1px 1px 3px 2px #DEB2EB; box-shadow:1px 1px 3px 2px #DEB2EB;">
Div content here</div>
This text has color #DEB2EB on black background.
This text has color #DEB2EB on white background.
This text has black color on #DEB2EB background.
This text has white color on #DEB2EB background.