HEX: #D197DA
RGB: (209,151,218)
#D197DA contains mainly red and blue colors. Web safe color of #D197DA is #CC99CC (or #C9C).
#D197DA color RGB value is (209,151,218).
RGB: (209,151,218) (82%,59%,85%)
R 209 of 255 = 82%
G 151 of 255 = 59%
B 218 of 255 = 85%
R + G + B ~ 75%. #D197DA is quite light color.
R + G + B =
209 + 151 + 218 = 578 (100%)
R 209 of 578 ~ 36.16%
G 151 of 578 ~ 26.12%
B 218 of 578 ~ 37.72%
#D197DA color CMYK value is (4,31,0,15).
CMYK: (4,31,0,15) C4M31Y0K15 (4%,31%,0%,15%) (0.04/0.31/0.00/0.15)
D1 | 97 | DA | |
---|---|---|---|
RGB | 209 | 151 | 218 |
HSL | 292° | 47.52% | 72.35% |
HSB/HSV | 292° | 30.73% | 85.49% |
CMYK | 4.13% | 30.73% | 0.00% |
14.51% |
HEX | D1 | 97 | DA |
Decimal | 209 | 151 | 218 |
Binary | 11010001 | 10010111 | 11011010 |
Octal | 321 | 227 | 332 |
Examples of css and html codes for elements with #D197DA color. Also use rgb(209,151,218) instead hex code.
.myTextColor { color: #D197DA; }
<p style="color:#D197DA">This sample text font color is #D197DA.</p>
This text font color is #D197DA.
.myBgColor { background-color: #D197DA; }
<div style="background-color:#D197DA">Inner text</div>
This div background color is #D197DA.
.myBorderColor { border: 1px solid #D197DA; }
<div style="border:3px solid #D197DA">Div</div>
This div border color is #D197DA.
.myOpacity80 { color: #D197DA; opacity: 0.8; }
<p style="color:#D197DA;opacity:0.8;">80%</p>
Text with #D197DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D197DA;}
<p style="text-shadow: 3px 3px 1px #D197DA">Text here.</p>
This text has shadow with #D197DA color.
.textShadow {text-shadow: 3px 3px 1px #D197DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D197DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D197DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D197DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D197DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D197DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D197DA; -webkit-box-shadow: 1px 1px 3px 2px #D197DA; box-shadow: 1px 1px 3px 2px #D197DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D197DA; -webkit-box-shadow: 1px 1px 3px 2px #D197DA; box-shadow:1px 1px 3px 2px #D197DA;">
Div content here</div>
This text has color #D197DA on black background.
This text has color #D197DA on white background.
This text has black color on #D197DA background.
This text has white color on #D197DA background.