HEX: #D470EC
RGB: (212,112,236)
#D470EC contains mainly red and blue colors. Web safe color of #D470EC is #CC66FF (or #C6F).
#D470EC color RGB value is (212,112,236).
RGB: (212,112,236) (83%,44%,93%)
R 212 of 255 = 83%
G 112 of 255 = 44%
B 236 of 255 = 93%
R + G + B ~ 73%. #D470EC is quite light color.
R + G + B =
212 + 112 + 236 = 560 (100%)
R 212 of 560 ~ 37.86%
G 112 of 560 ~ 20%
B 236 of 560 ~ 42.14%
#D470EC color CMYK value is (10,53,0,7).
CMYK: (10,53,0,7) C10M53Y0K7 (10%,53%,0%,7%) (0.10/0.53/0.00/0.07)
D4 | 70 | EC | |
---|---|---|---|
RGB | 212 | 112 | 236 |
HSL | 288° | 76.54% | 68.24% |
HSB/HSV | 288° | 52.54% | 92.55% |
CMYK | 10.17% | 52.54% | 0.00% |
7.45% |
HEX | D4 | 70 | EC |
Decimal | 212 | 112 | 236 |
Binary | 11010100 | 1110000 | 11101100 |
Octal | 324 | 160 | 354 |
Examples of css and html codes for elements with #D470EC color. Also use rgb(212,112,236) instead hex code.
.myTextColor { color: #D470EC; }
<p style="color:#D470EC">This sample text font color is #D470EC.</p>
This text font color is #D470EC.
.myBgColor { background-color: #D470EC; }
<div style="background-color:#D470EC">Inner text</div>
This div background color is #D470EC.
.myBorderColor { border: 1px solid #D470EC; }
<div style="border:3px solid #D470EC">Div</div>
This div border color is #D470EC.
.myOpacity80 { color: #D470EC; opacity: 0.8; }
<p style="color:#D470EC;opacity:0.8;">80%</p>
Text with #D470EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D470EC;}
<p style="text-shadow: 3px 3px 1px #D470EC">Text here.</p>
This text has shadow with #D470EC color.
.textShadow {text-shadow: 3px 3px 1px #D470EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D470EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D470EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D470EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D470EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D470EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D470EC; -webkit-box-shadow: 1px 1px 3px 2px #D470EC; box-shadow: 1px 1px 3px 2px #D470EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D470EC; -webkit-box-shadow: 1px 1px 3px 2px #D470EC; box-shadow:1px 1px 3px 2px #D470EC;">
Div content here</div>
This text has color #D470EC on black background.
This text has color #D470EC on white background.
This text has black color on #D470EC background.
This text has white color on #D470EC background.