HEX: #D46D8C
RGB: (212,109,140)
#D46D8C contains mainly red color. Web safe color of #D46D8C is #CC6699 (or #C69).
#D46D8C color RGB value is (212,109,140).
RGB: (212,109,140) (83%,43%,55%)
R 212 of 255 = 83%
G 109 of 255 = 43%
B 140 of 255 = 55%
R + G + B ~ 60%. #D46D8C is middle color (not dark and not light).
R + G + B =
212 + 109 + 140 = 461 (100%)
R 212 of 461 ~ 45.99%
G 109 of 461 ~ 23.64%
B 140 of 461 ~ 30.37%
#D46D8C color CMYK value is (0,49,34,17).
CMYK: (0,49,34,17) C0M49Y34K17 (0%,49%,34%,17%) (0.00/0.49/0.34/0.17)
D4 | 6D | 8C | |
---|---|---|---|
RGB | 212 | 109 | 140 |
HSL | 342° | 54.50% | 62.94% |
HSB/HSV | 342° | 48.58% | 83.14% |
CMYK | 0.00% | 48.58% | 33.96% |
16.86% |
HEX | D4 | 6D | 8C |
Decimal | 212 | 109 | 140 |
Binary | 11010100 | 1101101 | 10001100 |
Octal | 324 | 155 | 214 |
Examples of css and html codes for elements with #D46D8C color. Also use rgb(212,109,140) instead hex code.
.myTextColor { color: #D46D8C; }
<p style="color:#D46D8C">This sample text font color is #D46D8C.</p>
This text font color is #D46D8C.
.myBgColor { background-color: #D46D8C; }
<div style="background-color:#D46D8C">Inner text</div>
This div background color is #D46D8C.
.myBorderColor { border: 1px solid #D46D8C; }
<div style="border:3px solid #D46D8C">Div</div>
This div border color is #D46D8C.
.myOpacity80 { color: #D46D8C; opacity: 0.8; }
<p style="color:#D46D8C;opacity:0.8;">80%</p>
Text with #D46D8C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D46D8C;}
<p style="text-shadow: 3px 3px 1px #D46D8C">Text here.</p>
This text has shadow with #D46D8C color.
.textShadow {text-shadow: 3px 3px 1px #D46D8C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D46D8C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D46D8C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D46D8C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D46D8C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D46D8C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D46D8C; -webkit-box-shadow: 1px 1px 3px 2px #D46D8C; box-shadow: 1px 1px 3px 2px #D46D8C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D46D8C; -webkit-box-shadow: 1px 1px 3px 2px #D46D8C; box-shadow:1px 1px 3px 2px #D46D8C;">
Div content here</div>
This text has color #D46D8C on black background.
This text has color #D46D8C on white background.
This text has black color on #D46D8C background.
This text has white color on #D46D8C background.