HEX: #D004EF
RGB: (208,4,239)
#D004EF contains mainly red and blue colors. Web safe color of #D004EF is #CC00FF (or #C0F).
#D004EF color RGB value is (208,4,239).
RGB: (208,4,239) (82%,2%,94%)
R 208 of 255 = 82%
G 4 of 255 = 2%
B 239 of 255 = 94%
R + G + B ~ 59%. #D004EF is middle color (not dark and not light).
R + G + B =
208 + 4 + 239 = 451 (100%)
R 208 of 451 ~ 46.12%
G 4 of 451 ~ 0.89%
B 239 of 451 ~ 52.99%
#D004EF color CMYK value is (13,98,0,6).
CMYK: (13,98,0,6) C13M98Y0K6 (13%,98%,0%,6%) (0.13/0.98/0.00/0.06)
D0 | 04 | EF | |
---|---|---|---|
RGB | 208 | 4 | 239 |
HSL | 292° | 96.71% | 47.65% |
HSB/HSV | 292° | 98.33% | 93.73% |
CMYK | 12.97% | 98.33% | 0.00% |
6.27% |
HEX | D0 | 04 | EF |
Decimal | 208 | 4 | 239 |
Binary | 11010000 | 100 | 11101111 |
Octal | 320 | 4 | 357 |
Examples of css and html codes for elements with #D004EF color. Also use rgb(208,4,239) instead hex code.
.myTextColor { color: #D004EF; }
<p style="color:#D004EF">This sample text font color is #D004EF.</p>
This text font color is #D004EF.
.myBgColor { background-color: #D004EF; }
<div style="background-color:#D004EF">Inner text</div>
This div background color is #D004EF.
.myBorderColor { border: 1px solid #D004EF; }
<div style="border:3px solid #D004EF">Div</div>
This div border color is #D004EF.
.myOpacity80 { color: #D004EF; opacity: 0.8; }
<p style="color:#D004EF;opacity:0.8;">80%</p>
Text with #D004EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D004EF;}
<p style="text-shadow: 3px 3px 1px #D004EF">Text here.</p>
This text has shadow with #D004EF color.
.textShadow {text-shadow: 3px 3px 1px #D004EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D004EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D004EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D004EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D004EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D004EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D004EF; -webkit-box-shadow: 1px 1px 3px 2px #D004EF; box-shadow: 1px 1px 3px 2px #D004EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D004EF; -webkit-box-shadow: 1px 1px 3px 2px #D004EF; box-shadow:1px 1px 3px 2px #D004EF;">
Div content here</div>
This text has color #D004EF on black background.
This text has color #D004EF on white background.
This text has black color on #D004EF background.
This text has white color on #D004EF background.