HEX: #D751ED
RGB: (215,81,237)
#D751ED contains mainly red and blue colors. Web safe color of #D751ED is #CC66FF (or #C6F).
#D751ED color RGB value is (215,81,237).
RGB: (215,81,237) (84%,32%,93%)
R 215 of 255 = 84%
G 81 of 255 = 32%
B 237 of 255 = 93%
R + G + B ~ 70%. #D751ED is quite light color.
R + G + B =
215 + 81 + 237 = 533 (100%)
R 215 of 533 ~ 40.34%
G 81 of 533 ~ 15.2%
B 237 of 533 ~ 44.47%
#D751ED color CMYK value is (9,66,0,7).
CMYK: (9,66,0,7) C9M66Y0K7 (9%,66%,0%,7%) (0.09/0.66/0.00/0.07)
D7 | 51 | ED | |
---|---|---|---|
RGB | 215 | 81 | 237 |
HSL | 292° | 81.25% | 62.35% |
HSB/HSV | 292° | 65.82% | 92.94% |
CMYK | 9.28% | 65.82% | 0.00% |
7.06% |
HEX | D7 | 51 | ED |
Decimal | 215 | 81 | 237 |
Binary | 11010111 | 1010001 | 11101101 |
Octal | 327 | 121 | 355 |
Examples of css and html codes for elements with #D751ED color. Also use rgb(215,81,237) instead hex code.
.myTextColor { color: #D751ED; }
<p style="color:#D751ED">This sample text font color is #D751ED.</p>
This text font color is #D751ED.
.myBgColor { background-color: #D751ED; }
<div style="background-color:#D751ED">Inner text</div>
This div background color is #D751ED.
.myBorderColor { border: 1px solid #D751ED; }
<div style="border:3px solid #D751ED">Div</div>
This div border color is #D751ED.
.myOpacity80 { color: #D751ED; opacity: 0.8; }
<p style="color:#D751ED;opacity:0.8;">80%</p>
Text with #D751ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D751ED;}
<p style="text-shadow: 3px 3px 1px #D751ED">Text here.</p>
This text has shadow with #D751ED color.
.textShadow {text-shadow: 3px 3px 1px #D751ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D751ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #D751ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D751ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D751ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #D751ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D751ED; -webkit-box-shadow: 1px 1px 3px 2px #D751ED; box-shadow: 1px 1px 3px 2px #D751ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D751ED; -webkit-box-shadow: 1px 1px 3px 2px #D751ED; box-shadow:1px 1px 3px 2px #D751ED;">
Div content here</div>
This text has color #D751ED on black background.
This text has color #D751ED on white background.
This text has black color on #D751ED background.
This text has white color on #D751ED background.