HEX: #D596C6
RGB: (213,150,198)
#D596C6 contains mainly red and blue colors. Web safe color of #D596C6 is #CC99CC (or #C9C).
#D596C6 color RGB value is (213,150,198).
RGB: (213,150,198) (84%,59%,78%)
R 213 of 255 = 84%
G 150 of 255 = 59%
B 198 of 255 = 78%
R + G + B ~ 74%. #D596C6 is quite light color.
R + G + B =
213 + 150 + 198 = 561 (100%)
R 213 of 561 ~ 37.97%
G 150 of 561 ~ 26.74%
B 198 of 561 ~ 35.29%
#D596C6 color CMYK value is (0,30,7,16).
CMYK: (0,30,7,16) C0M30Y7K16 (0%,30%,7%,16%) (0.00/0.30/0.07/0.16)
D5 | 96 | C6 | |
---|---|---|---|
RGB | 213 | 150 | 198 |
HSL | 314° | 42.86% | 71.18% |
HSB/HSV | 314° | 29.58% | 83.53% |
CMYK | 0.00% | 29.58% | 7.04% |
16.47% |
HEX | D5 | 96 | C6 |
Decimal | 213 | 150 | 198 |
Binary | 11010101 | 10010110 | 11000110 |
Octal | 325 | 226 | 306 |
Examples of css and html codes for elements with #D596C6 color. Also use rgb(213,150,198) instead hex code.
.myTextColor { color: #D596C6; }
<p style="color:#D596C6">This sample text font color is #D596C6.</p>
This text font color is #D596C6.
.myBgColor { background-color: #D596C6; }
<div style="background-color:#D596C6">Inner text</div>
This div background color is #D596C6.
.myBorderColor { border: 1px solid #D596C6; }
<div style="border:3px solid #D596C6">Div</div>
This div border color is #D596C6.
.myOpacity80 { color: #D596C6; opacity: 0.8; }
<p style="color:#D596C6;opacity:0.8;">80%</p>
Text with #D596C6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D596C6;}
<p style="text-shadow: 3px 3px 1px #D596C6">Text here.</p>
This text has shadow with #D596C6 color.
.textShadow {text-shadow: 3px 3px 1px #D596C6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D596C6, 5px 5px 20px red">Text here.</p>
This text has shadow with #D596C6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D596C6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D596C6, Direction=45, Strength=4)">Text</p>
This text has shadow with #D596C6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D596C6; -webkit-box-shadow: 1px 1px 3px 2px #D596C6; box-shadow: 1px 1px 3px 2px #D596C6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D596C6; -webkit-box-shadow: 1px 1px 3px 2px #D596C6; box-shadow:1px 1px 3px 2px #D596C6;">
Div content here</div>
This text has color #D596C6 on black background.
This text has color #D596C6 on white background.
This text has black color on #D596C6 background.
This text has white color on #D596C6 background.