HEX: #E2A5B5
RGB: (226,165,181)
#E2A5B5 contains mainly red and blue colors. Web safe color of #E2A5B5 is #CC99CC (or #C9C).
#E2A5B5 color RGB value is (226,165,181).
RGB: (226,165,181) (89%,65%,71%)
R 226 of 255 = 89%
G 165 of 255 = 65%
B 181 of 255 = 71%
R + G + B ~ 75%. #E2A5B5 is quite light color.
R + G + B =
226 + 165 + 181 = 572 (100%)
R 226 of 572 ~ 39.51%
G 165 of 572 ~ 28.85%
B 181 of 572 ~ 31.64%
#E2A5B5 color CMYK value is (0,27,20,11).
CMYK: (0,27,20,11) C0M27Y20K11 (0%,27%,20%,11%) (0.00/0.27/0.20/0.11)
E2 | A5 | B5 | |
---|---|---|---|
RGB | 226 | 165 | 181 |
HSL | 344° | 51.26% | 76.67% |
HSB/HSV | 344° | 26.99% | 88.63% |
CMYK | 0.00% | 26.99% | 19.91% |
11.37% |
HEX | E2 | A5 | B5 |
Decimal | 226 | 165 | 181 |
Binary | 11100010 | 10100101 | 10110101 |
Octal | 342 | 245 | 265 |
Examples of css and html codes for elements with #E2A5B5 color. Also use rgb(226,165,181) instead hex code.
.myTextColor { color: #E2A5B5; }
<p style="color:#E2A5B5">This sample text font color is #E2A5B5.</p>
This text font color is #E2A5B5.
.myBgColor { background-color: #E2A5B5; }
<div style="background-color:#E2A5B5">Inner text</div>
This div background color is #E2A5B5.
.myBorderColor { border: 1px solid #E2A5B5; }
<div style="border:3px solid #E2A5B5">Div</div>
This div border color is #E2A5B5.
.myOpacity80 { color: #E2A5B5; opacity: 0.8; }
<p style="color:#E2A5B5;opacity:0.8;">80%</p>
Text with #E2A5B5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2A5B5;}
<p style="text-shadow: 3px 3px 1px #E2A5B5">Text here.</p>
This text has shadow with #E2A5B5 color.
.textShadow {text-shadow: 3px 3px 1px #E2A5B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2A5B5, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2A5B5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2A5B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2A5B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2A5B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2A5B5; -webkit-box-shadow: 1px 1px 3px 2px #E2A5B5; box-shadow: 1px 1px 3px 2px #E2A5B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2A5B5; -webkit-box-shadow: 1px 1px 3px 2px #E2A5B5; box-shadow:1px 1px 3px 2px #E2A5B5;">
Div content here</div>
This text has color #E2A5B5 on black background.
This text has color #E2A5B5 on white background.
This text has black color on #E2A5B5 background.
This text has white color on #E2A5B5 background.