HEX: #D7A0E6
RGB: (215,160,230)
#D7A0E6 contains mainly red and blue colors. Web safe color of #D7A0E6 is #CC99CC (or #C9C).
#D7A0E6 color RGB value is (215,160,230).
RGB: (215,160,230) (84%,63%,90%)
R 215 of 255 = 84%
G 160 of 255 = 63%
B 230 of 255 = 90%
R + G + B ~ 79%. #D7A0E6 is quite light color.
R + G + B =
215 + 160 + 230 = 605 (100%)
R 215 of 605 ~ 35.54%
G 160 of 605 ~ 26.45%
B 230 of 605 ~ 38.02%
#D7A0E6 color CMYK value is (7,30,0,10).
CMYK: (7,30,0,10) C7M30Y0K10 (7%,30%,0%,10%) (0.07/0.30/0.00/0.10)
D7 | A0 | E6 | |
---|---|---|---|
RGB | 215 | 160 | 230 |
HSL | 287° | 58.33% | 76.47% |
HSB/HSV | 287° | 30.43% | 90.20% |
CMYK | 6.52% | 30.43% | 0.00% |
9.80% |
HEX | D7 | A0 | E6 |
Decimal | 215 | 160 | 230 |
Binary | 11010111 | 10100000 | 11100110 |
Octal | 327 | 240 | 346 |
Examples of css and html codes for elements with #D7A0E6 color. Also use rgb(215,160,230) instead hex code.
.myTextColor { color: #D7A0E6; }
<p style="color:#D7A0E6">This sample text font color is #D7A0E6.</p>
This text font color is #D7A0E6.
.myBgColor { background-color: #D7A0E6; }
<div style="background-color:#D7A0E6">Inner text</div>
This div background color is #D7A0E6.
.myBorderColor { border: 1px solid #D7A0E6; }
<div style="border:3px solid #D7A0E6">Div</div>
This div border color is #D7A0E6.
.myOpacity80 { color: #D7A0E6; opacity: 0.8; }
<p style="color:#D7A0E6;opacity:0.8;">80%</p>
Text with #D7A0E6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7A0E6;}
<p style="text-shadow: 3px 3px 1px #D7A0E6">Text here.</p>
This text has shadow with #D7A0E6 color.
.textShadow {text-shadow: 3px 3px 1px #D7A0E6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7A0E6, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7A0E6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7A0E6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7A0E6, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7A0E6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7A0E6; -webkit-box-shadow: 1px 1px 3px 2px #D7A0E6; box-shadow: 1px 1px 3px 2px #D7A0E6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7A0E6; -webkit-box-shadow: 1px 1px 3px 2px #D7A0E6; box-shadow:1px 1px 3px 2px #D7A0E6;">
Div content here</div>
This text has color #D7A0E6 on black background.
This text has color #D7A0E6 on white background.
This text has black color on #D7A0E6 background.
This text has white color on #D7A0E6 background.