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