HEX: #E2B2DB
RGB: (226,178,219)
#E2B2DB contains red, green and blue colors in about the same proportion. Web safe color of #E2B2DB is #CC99CC (or #C9C).
#E2B2DB color RGB value is (226,178,219).
RGB: (226,178,219) (89%,70%,86%)
R 226 of 255 = 89%
G 178 of 255 = 70%
B 219 of 255 = 86%
R + G + B ~ 82%. #E2B2DB is quite light color.
R + G + B =
226 + 178 + 219 = 623 (100%)
R 226 of 623 ~ 36.28%
G 178 of 623 ~ 28.57%
B 219 of 623 ~ 35.15%
#E2B2DB color CMYK value is (0,21,3,11).
CMYK: (0,21,3,11) C0M21Y3K11 (0%,21%,3%,11%) (0.00/0.21/0.03/0.11)
E2 | B2 | DB | |
---|---|---|---|
RGB | 226 | 178 | 219 |
HSL | 309° | 45.28% | 79.22% |
HSB/HSV | 309° | 21.24% | 88.63% |
CMYK | 0.00% | 21.24% | 3.10% |
11.37% |
HEX | E2 | B2 | DB |
Decimal | 226 | 178 | 219 |
Binary | 11100010 | 10110010 | 11011011 |
Octal | 342 | 262 | 333 |
Examples of css and html codes for elements with #E2B2DB color. Also use rgb(226,178,219) instead hex code.
.myTextColor { color: #E2B2DB; }
<p style="color:#E2B2DB">This sample text font color is #E2B2DB.</p>
This text font color is #E2B2DB.
.myBgColor { background-color: #E2B2DB; }
<div style="background-color:#E2B2DB">Inner text</div>
This div background color is #E2B2DB.
.myBorderColor { border: 1px solid #E2B2DB; }
<div style="border:3px solid #E2B2DB">Div</div>
This div border color is #E2B2DB.
.myOpacity80 { color: #E2B2DB; opacity: 0.8; }
<p style="color:#E2B2DB;opacity:0.8;">80%</p>
Text with #E2B2DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2B2DB;}
<p style="text-shadow: 3px 3px 1px #E2B2DB">Text here.</p>
This text has shadow with #E2B2DB color.
.textShadow {text-shadow: 3px 3px 1px #E2B2DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2B2DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2B2DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2B2DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2B2DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2B2DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2B2DB; -webkit-box-shadow: 1px 1px 3px 2px #E2B2DB; box-shadow: 1px 1px 3px 2px #E2B2DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2B2DB; -webkit-box-shadow: 1px 1px 3px 2px #E2B2DB; box-shadow:1px 1px 3px 2px #E2B2DB;">
Div content here</div>
This text has color #E2B2DB on black background.
This text has color #E2B2DB on white background.
This text has black color on #E2B2DB background.
This text has white color on #E2B2DB background.