HEX: #D457F1
RGB: (212,87,241)
#D457F1 contains mainly red and blue colors. Web safe color of #D457F1 is #CC66FF (or #C6F).
#D457F1 color RGB value is (212,87,241).
RGB: (212,87,241) (83%,34%,95%)
R 212 of 255 = 83%
G 87 of 255 = 34%
B 241 of 255 = 95%
R + G + B ~ 71%. #D457F1 is quite light color.
R + G + B =
212 + 87 + 241 = 540 (100%)
R 212 of 540 ~ 39.26%
G 87 of 540 ~ 16.11%
B 241 of 540 ~ 44.63%
#D457F1 color CMYK value is (12,64,0,5).
CMYK: (12,64,0,5) C12M64Y0K5 (12%,64%,0%,5%) (0.12/0.64/0.00/0.05)
D4 | 57 | F1 | |
---|---|---|---|
RGB | 212 | 87 | 241 |
HSL | 289° | 84.62% | 64.31% |
HSB/HSV | 289° | 63.90% | 94.51% |
CMYK | 12.03% | 63.90% | 0.00% |
5.49% |
HEX | D4 | 57 | F1 |
Decimal | 212 | 87 | 241 |
Binary | 11010100 | 1010111 | 11110001 |
Octal | 324 | 127 | 361 |
Examples of css and html codes for elements with #D457F1 color. Also use rgb(212,87,241) instead hex code.
.myTextColor { color: #D457F1; }
<p style="color:#D457F1">This sample text font color is #D457F1.</p>
This text font color is #D457F1.
.myBgColor { background-color: #D457F1; }
<div style="background-color:#D457F1">Inner text</div>
This div background color is #D457F1.
.myBorderColor { border: 1px solid #D457F1; }
<div style="border:3px solid #D457F1">Div</div>
This div border color is #D457F1.
.myOpacity80 { color: #D457F1; opacity: 0.8; }
<p style="color:#D457F1;opacity:0.8;">80%</p>
Text with #D457F1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D457F1;}
<p style="text-shadow: 3px 3px 1px #D457F1">Text here.</p>
This text has shadow with #D457F1 color.
.textShadow {text-shadow: 3px 3px 1px #D457F1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D457F1, 5px 5px 20px red">Text here.</p>
This text has shadow with #D457F1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D457F1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D457F1, Direction=45, Strength=4)">Text</p>
This text has shadow with #D457F1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D457F1; -webkit-box-shadow: 1px 1px 3px 2px #D457F1; box-shadow: 1px 1px 3px 2px #D457F1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D457F1; -webkit-box-shadow: 1px 1px 3px 2px #D457F1; box-shadow:1px 1px 3px 2px #D457F1;">
Div content here</div>
This text has color #D457F1 on black background.
This text has color #D457F1 on white background.
This text has black color on #D457F1 background.
This text has white color on #D457F1 background.