HEX: #E2A7BB
RGB: (226,167,187)
#E2A7BB contains red, green and blue colors in about the same proportion. Web safe color of #E2A7BB is #CC99CC (or #C9C).
#E2A7BB color RGB value is (226,167,187).
RGB: (226,167,187) (89%,65%,73%)
R 226 of 255 = 89%
G 167 of 255 = 65%
B 187 of 255 = 73%
R + G + B ~ 76%. #E2A7BB is quite light color.
R + G + B =
226 + 167 + 187 = 580 (100%)
R 226 of 580 ~ 38.97%
G 167 of 580 ~ 28.79%
B 187 of 580 ~ 32.24%
#E2A7BB color CMYK value is (0,26,17,11).
CMYK: (0,26,17,11) C0M26Y17K11 (0%,26%,17%,11%) (0.00/0.26/0.17/0.11)
E2 | A7 | BB | |
---|---|---|---|
RGB | 226 | 167 | 187 |
HSL | 340° | 50.43% | 77.06% |
HSB/HSV | 340° | 26.11% | 88.63% |
CMYK | 0.00% | 26.11% | 17.26% |
11.37% |
HEX | E2 | A7 | BB |
Decimal | 226 | 167 | 187 |
Binary | 11100010 | 10100111 | 10111011 |
Octal | 342 | 247 | 273 |
Examples of css and html codes for elements with #E2A7BB color. Also use rgb(226,167,187) instead hex code.
.myTextColor { color: #E2A7BB; }
<p style="color:#E2A7BB">This sample text font color is #E2A7BB.</p>
This text font color is #E2A7BB.
.myBgColor { background-color: #E2A7BB; }
<div style="background-color:#E2A7BB">Inner text</div>
This div background color is #E2A7BB.
.myBorderColor { border: 1px solid #E2A7BB; }
<div style="border:3px solid #E2A7BB">Div</div>
This div border color is #E2A7BB.
.myOpacity80 { color: #E2A7BB; opacity: 0.8; }
<p style="color:#E2A7BB;opacity:0.8;">80%</p>
Text with #E2A7BB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2A7BB;}
<p style="text-shadow: 3px 3px 1px #E2A7BB">Text here.</p>
This text has shadow with #E2A7BB color.
.textShadow {text-shadow: 3px 3px 1px #E2A7BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2A7BB, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2A7BB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2A7BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2A7BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2A7BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2A7BB; -webkit-box-shadow: 1px 1px 3px 2px #E2A7BB; box-shadow: 1px 1px 3px 2px #E2A7BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2A7BB; -webkit-box-shadow: 1px 1px 3px 2px #E2A7BB; box-shadow:1px 1px 3px 2px #E2A7BB;">
Div content here</div>
This text has color #E2A7BB on black background.
This text has color #E2A7BB on white background.
This text has black color on #E2A7BB background.
This text has white color on #E2A7BB background.