HEX: #D17199
RGB: (209,113,153)
#D17199 contains mainly red and blue colors. Web safe color of #D17199 is #CC6699 (or #C69).
#D17199 color RGB value is (209,113,153).
RGB: (209,113,153) (82%,44%,60%)
R 209 of 255 = 82%
G 113 of 255 = 44%
B 153 of 255 = 60%
R + G + B ~ 62%. #D17199 is quite light color.
R + G + B =
209 + 113 + 153 = 475 (100%)
R 209 of 475 ~ 44%
G 113 of 475 ~ 23.79%
B 153 of 475 ~ 32.21%
#D17199 color CMYK value is (0,46,27,18).
CMYK: (0,46,27,18) C0M46Y27K18 (0%,46%,27%,18%) (0.00/0.46/0.27/0.18)
D1 | 71 | 99 | |
---|---|---|---|
RGB | 209 | 113 | 153 |
HSL | 335° | 51.06% | 63.14% |
HSB/HSV | 335° | 45.93% | 81.96% |
CMYK | 0.00% | 45.93% | 26.79% |
18.04% |
HEX | D1 | 71 | 99 |
Decimal | 209 | 113 | 153 |
Binary | 11010001 | 1110001 | 10011001 |
Octal | 321 | 161 | 231 |
Examples of css and html codes for elements with #D17199 color. Also use rgb(209,113,153) instead hex code.
.myTextColor { color: #D17199; }
<p style="color:#D17199">This sample text font color is #D17199.</p>
This text font color is #D17199.
.myBgColor { background-color: #D17199; }
<div style="background-color:#D17199">Inner text</div>
This div background color is #D17199.
.myBorderColor { border: 1px solid #D17199; }
<div style="border:3px solid #D17199">Div</div>
This div border color is #D17199.
.myOpacity80 { color: #D17199; opacity: 0.8; }
<p style="color:#D17199;opacity:0.8;">80%</p>
Text with #D17199 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D17199;}
<p style="text-shadow: 3px 3px 1px #D17199">Text here.</p>
This text has shadow with #D17199 color.
.textShadow {text-shadow: 3px 3px 1px #D17199, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D17199, 5px 5px 20px red">Text here.</p>
This text has shadow with #D17199 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D17199, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D17199, Direction=45, Strength=4)">Text</p>
This text has shadow with #D17199 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D17199; -webkit-box-shadow: 1px 1px 3px 2px #D17199; box-shadow: 1px 1px 3px 2px #D17199; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D17199; -webkit-box-shadow: 1px 1px 3px 2px #D17199; box-shadow:1px 1px 3px 2px #D17199;">
Div content here</div>
This text has color #D17199 on black background.
This text has color #D17199 on white background.
This text has black color on #D17199 background.
This text has white color on #D17199 background.