HEX: #D457AB
RGB: (212,87,171)
#D457AB contains mainly red and blue colors. Web safe color of #D457AB is #CC6699 (or #C69).
#D457AB color RGB value is (212,87,171).
RGB: (212,87,171) (83%,34%,67%)
R 212 of 255 = 83%
G 87 of 255 = 34%
B 171 of 255 = 67%
R + G + B ~ 61%. #D457AB is quite light color.
R + G + B =
212 + 87 + 171 = 470 (100%)
R 212 of 470 ~ 45.11%
G 87 of 470 ~ 18.51%
B 171 of 470 ~ 36.38%
#D457AB color CMYK value is (0,59,19,17).
CMYK: (0,59,19,17) C0M59Y19K17 (0%,59%,19%,17%) (0.00/0.59/0.19/0.17)
D4 | 57 | AB | |
---|---|---|---|
RGB | 212 | 87 | 171 |
HSL | 320° | 59.24% | 58.63% |
HSB/HSV | 320° | 58.96% | 83.14% |
CMYK | 0.00% | 58.96% | 19.34% |
16.86% |
HEX | D4 | 57 | AB |
Decimal | 212 | 87 | 171 |
Binary | 11010100 | 1010111 | 10101011 |
Octal | 324 | 127 | 253 |
Examples of css and html codes for elements with #D457AB color. Also use rgb(212,87,171) instead hex code.
.myTextColor { color: #D457AB; }
<p style="color:#D457AB">This sample text font color is #D457AB.</p>
This text font color is #D457AB.
.myBgColor { background-color: #D457AB; }
<div style="background-color:#D457AB">Inner text</div>
This div background color is #D457AB.
.myBorderColor { border: 1px solid #D457AB; }
<div style="border:3px solid #D457AB">Div</div>
This div border color is #D457AB.
.myOpacity80 { color: #D457AB; opacity: 0.8; }
<p style="color:#D457AB;opacity:0.8;">80%</p>
Text with #D457AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D457AB;}
<p style="text-shadow: 3px 3px 1px #D457AB">Text here.</p>
This text has shadow with #D457AB color.
.textShadow {text-shadow: 3px 3px 1px #D457AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D457AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D457AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D457AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D457AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D457AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D457AB; -webkit-box-shadow: 1px 1px 3px 2px #D457AB; box-shadow: 1px 1px 3px 2px #D457AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D457AB; -webkit-box-shadow: 1px 1px 3px 2px #D457AB; box-shadow:1px 1px 3px 2px #D457AB;">
Div content here</div>
This text has color #D457AB on black background.
This text has color #D457AB on white background.
This text has black color on #D457AB background.
This text has white color on #D457AB background.