HEX: #D477AD
RGB: (212,119,173)
#D477AD contains mainly red and blue colors. Web safe color of #D477AD is #CC6699 (or #C69).
#D477AD color RGB value is (212,119,173).
RGB: (212,119,173) (83%,47%,68%)
R 212 of 255 = 83%
G 119 of 255 = 47%
B 173 of 255 = 68%
R + G + B ~ 66%. #D477AD is quite light color.
R + G + B =
212 + 119 + 173 = 504 (100%)
R 212 of 504 ~ 42.06%
G 119 of 504 ~ 23.61%
B 173 of 504 ~ 34.33%
#D477AD color CMYK value is (0,44,18,17).
CMYK: (0,44,18,17) C0M44Y18K17 (0%,44%,18%,17%) (0.00/0.44/0.18/0.17)
D4 | 77 | AD | |
---|---|---|---|
RGB | 212 | 119 | 173 |
HSL | 325° | 51.96% | 64.90% |
HSB/HSV | 325° | 43.87% | 83.14% |
CMYK | 0.00% | 43.87% | 18.40% |
16.86% |
HEX | D4 | 77 | AD |
Decimal | 212 | 119 | 173 |
Binary | 11010100 | 1110111 | 10101101 |
Octal | 324 | 167 | 255 |
Examples of css and html codes for elements with #D477AD color. Also use rgb(212,119,173) instead hex code.
.myTextColor { color: #D477AD; }
<p style="color:#D477AD">This sample text font color is #D477AD.</p>
This text font color is #D477AD.
.myBgColor { background-color: #D477AD; }
<div style="background-color:#D477AD">Inner text</div>
This div background color is #D477AD.
.myBorderColor { border: 1px solid #D477AD; }
<div style="border:3px solid #D477AD">Div</div>
This div border color is #D477AD.
.myOpacity80 { color: #D477AD; opacity: 0.8; }
<p style="color:#D477AD;opacity:0.8;">80%</p>
Text with #D477AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D477AD;}
<p style="text-shadow: 3px 3px 1px #D477AD">Text here.</p>
This text has shadow with #D477AD color.
.textShadow {text-shadow: 3px 3px 1px #D477AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D477AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D477AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D477AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D477AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D477AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D477AD; -webkit-box-shadow: 1px 1px 3px 2px #D477AD; box-shadow: 1px 1px 3px 2px #D477AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D477AD; -webkit-box-shadow: 1px 1px 3px 2px #D477AD; box-shadow:1px 1px 3px 2px #D477AD;">
Div content here</div>
This text has color #D477AD on black background.
This text has color #D477AD on white background.
This text has black color on #D477AD background.
This text has white color on #D477AD background.