HEX: #D4728E
RGB: (212,114,142)
#D4728E contains mainly red color. Web safe color of #D4728E is #CC6699 (or #C69).
#D4728E color RGB value is (212,114,142).
RGB: (212,114,142) (83%,45%,56%)
R 212 of 255 = 83%
G 114 of 255 = 45%
B 142 of 255 = 56%
R + G + B ~ 61%. #D4728E is quite light color.
R + G + B =
212 + 114 + 142 = 468 (100%)
R 212 of 468 ~ 45.3%
G 114 of 468 ~ 24.36%
B 142 of 468 ~ 30.34%
#D4728E color CMYK value is (0,46,33,17).
CMYK: (0,46,33,17) C0M46Y33K17 (0%,46%,33%,17%) (0.00/0.46/0.33/0.17)
D4 | 72 | 8E | |
---|---|---|---|
RGB | 212 | 114 | 142 |
HSL | 343° | 53.26% | 63.92% |
HSB/HSV | 343° | 46.23% | 83.14% |
CMYK | 0.00% | 46.23% | 33.02% |
16.86% |
HEX | D4 | 72 | 8E |
Decimal | 212 | 114 | 142 |
Binary | 11010100 | 1110010 | 10001110 |
Octal | 324 | 162 | 216 |
Examples of css and html codes for elements with #D4728E color. Also use rgb(212,114,142) instead hex code.
.myTextColor { color: #D4728E; }
<p style="color:#D4728E">This sample text font color is #D4728E.</p>
This text font color is #D4728E.
.myBgColor { background-color: #D4728E; }
<div style="background-color:#D4728E">Inner text</div>
This div background color is #D4728E.
.myBorderColor { border: 1px solid #D4728E; }
<div style="border:3px solid #D4728E">Div</div>
This div border color is #D4728E.
.myOpacity80 { color: #D4728E; opacity: 0.8; }
<p style="color:#D4728E;opacity:0.8;">80%</p>
Text with #D4728E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4728E;}
<p style="text-shadow: 3px 3px 1px #D4728E">Text here.</p>
This text has shadow with #D4728E color.
.textShadow {text-shadow: 3px 3px 1px #D4728E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4728E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4728E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4728E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4728E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4728E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4728E; -webkit-box-shadow: 1px 1px 3px 2px #D4728E; box-shadow: 1px 1px 3px 2px #D4728E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4728E; -webkit-box-shadow: 1px 1px 3px 2px #D4728E; box-shadow:1px 1px 3px 2px #D4728E;">
Div content here</div>
This text has color #D4728E on black background.
This text has color #D4728E on white background.
This text has black color on #D4728E background.
This text has white color on #D4728E background.