HEX: #D497AB
RGB: (212,151,171)
#D497AB contains mainly red and blue colors. Web safe color of #D497AB is #CC9999 (or #C99).
#D497AB color RGB value is (212,151,171).
RGB: (212,151,171) (83%,59%,67%)
R 212 of 255 = 83%
G 151 of 255 = 59%
B 171 of 255 = 67%
R + G + B ~ 70%. #D497AB is quite light color.
R + G + B =
212 + 151 + 171 = 534 (100%)
R 212 of 534 ~ 39.7%
G 151 of 534 ~ 28.28%
B 171 of 534 ~ 32.02%
#D497AB color CMYK value is (0,29,19,17).
CMYK: (0,29,19,17) C0M29Y19K17 (0%,29%,19%,17%) (0.00/0.29/0.19/0.17)
D4 | 97 | AB | |
---|---|---|---|
RGB | 212 | 151 | 171 |
HSL | 340° | 41.50% | 71.18% |
HSB/HSV | 340° | 28.77% | 83.14% |
CMYK | 0.00% | 28.77% | 19.34% |
16.86% |
HEX | D4 | 97 | AB |
Decimal | 212 | 151 | 171 |
Binary | 11010100 | 10010111 | 10101011 |
Octal | 324 | 227 | 253 |
Examples of css and html codes for elements with #D497AB color. Also use rgb(212,151,171) instead hex code.
.myTextColor { color: #D497AB; }
<p style="color:#D497AB">This sample text font color is #D497AB.</p>
This text font color is #D497AB.
.myBgColor { background-color: #D497AB; }
<div style="background-color:#D497AB">Inner text</div>
This div background color is #D497AB.
.myBorderColor { border: 1px solid #D497AB; }
<div style="border:3px solid #D497AB">Div</div>
This div border color is #D497AB.
.myOpacity80 { color: #D497AB; opacity: 0.8; }
<p style="color:#D497AB;opacity:0.8;">80%</p>
Text with #D497AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D497AB;}
<p style="text-shadow: 3px 3px 1px #D497AB">Text here.</p>
This text has shadow with #D497AB color.
.textShadow {text-shadow: 3px 3px 1px #D497AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D497AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D497AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D497AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D497AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D497AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D497AB; -webkit-box-shadow: 1px 1px 3px 2px #D497AB; box-shadow: 1px 1px 3px 2px #D497AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D497AB; -webkit-box-shadow: 1px 1px 3px 2px #D497AB; box-shadow:1px 1px 3px 2px #D497AB;">
Div content here</div>
This text has color #D497AB on black background.
This text has color #D497AB on white background.
This text has black color on #D497AB background.
This text has white color on #D497AB background.