HEX: #D476F2
RGB: (212,118,242)
#D476F2 contains mainly red and blue colors. Web safe color of #D476F2 is #CC66FF (or #C6F).
#D476F2 color RGB value is (212,118,242).
RGB: (212,118,242) (83%,46%,95%)
R 212 of 255 = 83%
G 118 of 255 = 46%
B 242 of 255 = 95%
R + G + B ~ 75%. #D476F2 is quite light color.
R + G + B =
212 + 118 + 242 = 572 (100%)
R 212 of 572 ~ 37.06%
G 118 of 572 ~ 20.63%
B 242 of 572 ~ 42.31%
#D476F2 color CMYK value is (12,51,0,5).
CMYK: (12,51,0,5) C12M51Y0K5 (12%,51%,0%,5%) (0.12/0.51/0.00/0.05)
D4 | 76 | F2 | |
---|---|---|---|
RGB | 212 | 118 | 242 |
HSL | 285° | 82.67% | 70.59% |
HSB/HSV | 285° | 51.24% | 94.90% |
CMYK | 12.40% | 51.24% | 0.00% |
5.10% |
HEX | D4 | 76 | F2 |
Decimal | 212 | 118 | 242 |
Binary | 11010100 | 1110110 | 11110010 |
Octal | 324 | 166 | 362 |
Examples of css and html codes for elements with #D476F2 color. Also use rgb(212,118,242) instead hex code.
.myTextColor { color: #D476F2; }
<p style="color:#D476F2">This sample text font color is #D476F2.</p>
This text font color is #D476F2.
.myBgColor { background-color: #D476F2; }
<div style="background-color:#D476F2">Inner text</div>
This div background color is #D476F2.
.myBorderColor { border: 1px solid #D476F2; }
<div style="border:3px solid #D476F2">Div</div>
This div border color is #D476F2.
.myOpacity80 { color: #D476F2; opacity: 0.8; }
<p style="color:#D476F2;opacity:0.8;">80%</p>
Text with #D476F2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D476F2;}
<p style="text-shadow: 3px 3px 1px #D476F2">Text here.</p>
This text has shadow with #D476F2 color.
.textShadow {text-shadow: 3px 3px 1px #D476F2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D476F2, 5px 5px 20px red">Text here.</p>
This text has shadow with #D476F2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D476F2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D476F2, Direction=45, Strength=4)">Text</p>
This text has shadow with #D476F2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D476F2; -webkit-box-shadow: 1px 1px 3px 2px #D476F2; box-shadow: 1px 1px 3px 2px #D476F2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D476F2; -webkit-box-shadow: 1px 1px 3px 2px #D476F2; box-shadow:1px 1px 3px 2px #D476F2;">
Div content here</div>
This text has color #D476F2 on black background.
This text has color #D476F2 on white background.
This text has black color on #D476F2 background.
This text has white color on #D476F2 background.