HEX: #D4749A
RGB: (212,116,154)
#D4749A contains mainly red and blue colors. Web safe color of #D4749A is #CC6699 (or #C69).
#D4749A color RGB value is (212,116,154).
RGB: (212,116,154) (83%,45%,60%)
R 212 of 255 = 83%
G 116 of 255 = 45%
B 154 of 255 = 60%
R + G + B ~ 63%. #D4749A is quite light color.
R + G + B =
212 + 116 + 154 = 482 (100%)
R 212 of 482 ~ 43.98%
G 116 of 482 ~ 24.07%
B 154 of 482 ~ 31.95%
#D4749A color CMYK value is (0,45,27,17).
CMYK: (0,45,27,17) C0M45Y27K17 (0%,45%,27%,17%) (0.00/0.45/0.27/0.17)
D4 | 74 | 9A | |
---|---|---|---|
RGB | 212 | 116 | 154 |
HSL | 336° | 52.75% | 64.31% |
HSB/HSV | 336° | 45.28% | 83.14% |
CMYK | 0.00% | 45.28% | 27.36% |
16.86% |
HEX | D4 | 74 | 9A |
Decimal | 212 | 116 | 154 |
Binary | 11010100 | 1110100 | 10011010 |
Octal | 324 | 164 | 232 |
Examples of css and html codes for elements with #D4749A color. Also use rgb(212,116,154) instead hex code.
.myTextColor { color: #D4749A; }
<p style="color:#D4749A">This sample text font color is #D4749A.</p>
This text font color is #D4749A.
.myBgColor { background-color: #D4749A; }
<div style="background-color:#D4749A">Inner text</div>
This div background color is #D4749A.
.myBorderColor { border: 1px solid #D4749A; }
<div style="border:3px solid #D4749A">Div</div>
This div border color is #D4749A.
.myOpacity80 { color: #D4749A; opacity: 0.8; }
<p style="color:#D4749A;opacity:0.8;">80%</p>
Text with #D4749A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4749A;}
<p style="text-shadow: 3px 3px 1px #D4749A">Text here.</p>
This text has shadow with #D4749A color.
.textShadow {text-shadow: 3px 3px 1px #D4749A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4749A, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4749A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4749A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4749A, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4749A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4749A; -webkit-box-shadow: 1px 1px 3px 2px #D4749A; box-shadow: 1px 1px 3px 2px #D4749A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4749A; -webkit-box-shadow: 1px 1px 3px 2px #D4749A; box-shadow:1px 1px 3px 2px #D4749A;">
Div content here</div>
This text has color #D4749A on black background.
This text has color #D4749A on white background.
This text has black color on #D4749A background.
This text has white color on #D4749A background.