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