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