HEX: #D7A1BD
RGB: (215,161,189)
#D7A1BD contains red, green and blue colors in about the same proportion. Web safe color of #D7A1BD is #CC99CC (or #C9C).
#D7A1BD color RGB value is (215,161,189).
RGB: (215,161,189) (84%,63%,74%)
R 215 of 255 = 84%
G 161 of 255 = 63%
B 189 of 255 = 74%
R + G + B ~ 74%. #D7A1BD is quite light color.
R + G + B =
215 + 161 + 189 = 565 (100%)
R 215 of 565 ~ 38.05%
G 161 of 565 ~ 28.5%
B 189 of 565 ~ 33.45%
#D7A1BD color CMYK value is (0,25,12,16).
CMYK: (0,25,12,16) C0M25Y12K16 (0%,25%,12%,16%) (0.00/0.25/0.12/0.16)
D7 | A1 | BD | |
---|---|---|---|
RGB | 215 | 161 | 189 |
HSL | 329° | 40.30% | 73.73% |
HSB/HSV | 329° | 25.12% | 84.31% |
CMYK | 0.00% | 25.12% | 12.09% |
15.69% |
HEX | D7 | A1 | BD |
Decimal | 215 | 161 | 189 |
Binary | 11010111 | 10100001 | 10111101 |
Octal | 327 | 241 | 275 |
Examples of css and html codes for elements with #D7A1BD color. Also use rgb(215,161,189) instead hex code.
.myTextColor { color: #D7A1BD; }
<p style="color:#D7A1BD">This sample text font color is #D7A1BD.</p>
This text font color is #D7A1BD.
.myBgColor { background-color: #D7A1BD; }
<div style="background-color:#D7A1BD">Inner text</div>
This div background color is #D7A1BD.
.myBorderColor { border: 1px solid #D7A1BD; }
<div style="border:3px solid #D7A1BD">Div</div>
This div border color is #D7A1BD.
.myOpacity80 { color: #D7A1BD; opacity: 0.8; }
<p style="color:#D7A1BD;opacity:0.8;">80%</p>
Text with #D7A1BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7A1BD;}
<p style="text-shadow: 3px 3px 1px #D7A1BD">Text here.</p>
This text has shadow with #D7A1BD color.
.textShadow {text-shadow: 3px 3px 1px #D7A1BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7A1BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7A1BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7A1BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7A1BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7A1BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7A1BD; -webkit-box-shadow: 1px 1px 3px 2px #D7A1BD; box-shadow: 1px 1px 3px 2px #D7A1BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7A1BD; -webkit-box-shadow: 1px 1px 3px 2px #D7A1BD; box-shadow:1px 1px 3px 2px #D7A1BD;">
Div content here</div>
This text has color #D7A1BD on black background.
This text has color #D7A1BD on white background.
This text has black color on #D7A1BD background.
This text has white color on #D7A1BD background.