HEX: #D2687E
RGB: (210,104,126)
#D2687E contains mainly red color. Web safe color of #D2687E is #CC6666 (or #C66).
#D2687E color RGB value is (210,104,126).
RGB: (210,104,126) (82%,41%,49%)
R 210 of 255 = 82%
G 104 of 255 = 41%
B 126 of 255 = 49%
R + G + B ~ 57%. #D2687E is middle color (not dark and not light).
R + G + B =
210 + 104 + 126 = 440 (100%)
R 210 of 440 ~ 47.73%
G 104 of 440 ~ 23.64%
B 126 of 440 ~ 28.64%
#D2687E color CMYK value is (0,50,40,18).
CMYK: (0,50,40,18) C0M50Y40K18 (0%,50%,40%,18%) (0.00/0.50/0.40/0.18)
D2 | 68 | 7E | |
---|---|---|---|
RGB | 210 | 104 | 126 |
HSL | 348° | 54.08% | 61.57% |
HSB/HSV | 348° | 50.48% | 82.35% |
CMYK | 0.00% | 50.48% | 40.00% |
17.65% |
HEX | D2 | 68 | 7E |
Decimal | 210 | 104 | 126 |
Binary | 11010010 | 1101000 | 1111110 |
Octal | 322 | 150 | 176 |
Examples of css and html codes for elements with #D2687E color. Also use rgb(210,104,126) instead hex code.
.myTextColor { color: #D2687E; }
<p style="color:#D2687E">This sample text font color is #D2687E.</p>
This text font color is #D2687E.
.myBgColor { background-color: #D2687E; }
<div style="background-color:#D2687E">Inner text</div>
This div background color is #D2687E.
.myBorderColor { border: 1px solid #D2687E; }
<div style="border:3px solid #D2687E">Div</div>
This div border color is #D2687E.
.myOpacity80 { color: #D2687E; opacity: 0.8; }
<p style="color:#D2687E;opacity:0.8;">80%</p>
Text with #D2687E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2687E;}
<p style="text-shadow: 3px 3px 1px #D2687E">Text here.</p>
This text has shadow with #D2687E color.
.textShadow {text-shadow: 3px 3px 1px #D2687E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2687E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2687E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2687E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2687E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2687E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2687E; -webkit-box-shadow: 1px 1px 3px 2px #D2687E; box-shadow: 1px 1px 3px 2px #D2687E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2687E; -webkit-box-shadow: 1px 1px 3px 2px #D2687E; box-shadow:1px 1px 3px 2px #D2687E;">
Div content here</div>
This text has color #D2687E on black background.
This text has color #D2687E on white background.
This text has black color on #D2687E background.
This text has white color on #D2687E background.