HEX: #D197ED
RGB: (209,151,237)
#D197ED contains mainly red and blue colors. Web safe color of #D197ED is #CC99FF (or #C9F).
#D197ED color RGB value is (209,151,237).
RGB: (209,151,237) (82%,59%,93%)
R 209 of 255 = 82%
G 151 of 255 = 59%
B 237 of 255 = 93%
R + G + B ~ 78%. #D197ED is quite light color.
R + G + B =
209 + 151 + 237 = 597 (100%)
R 209 of 597 ~ 35.01%
G 151 of 597 ~ 25.29%
B 237 of 597 ~ 39.7%
#D197ED color CMYK value is (12,36,0,7).
CMYK: (12,36,0,7) C12M36Y0K7 (12%,36%,0%,7%) (0.12/0.36/0.00/0.07)
D1 | 97 | ED | |
---|---|---|---|
RGB | 209 | 151 | 237 |
HSL | 280° | 70.49% | 76.08% |
HSB/HSV | 280° | 36.29% | 92.94% |
CMYK | 11.81% | 36.29% | 0.00% |
7.06% |
HEX | D1 | 97 | ED |
Decimal | 209 | 151 | 237 |
Binary | 11010001 | 10010111 | 11101101 |
Octal | 321 | 227 | 355 |
Examples of css and html codes for elements with #D197ED color. Also use rgb(209,151,237) instead hex code.
.myTextColor { color: #D197ED; }
<p style="color:#D197ED">This sample text font color is #D197ED.</p>
This text font color is #D197ED.
.myBgColor { background-color: #D197ED; }
<div style="background-color:#D197ED">Inner text</div>
This div background color is #D197ED.
.myBorderColor { border: 1px solid #D197ED; }
<div style="border:3px solid #D197ED">Div</div>
This div border color is #D197ED.
.myOpacity80 { color: #D197ED; opacity: 0.8; }
<p style="color:#D197ED;opacity:0.8;">80%</p>
Text with #D197ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D197ED;}
<p style="text-shadow: 3px 3px 1px #D197ED">Text here.</p>
This text has shadow with #D197ED color.
.textShadow {text-shadow: 3px 3px 1px #D197ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D197ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #D197ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D197ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D197ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #D197ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D197ED; -webkit-box-shadow: 1px 1px 3px 2px #D197ED; box-shadow: 1px 1px 3px 2px #D197ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D197ED; -webkit-box-shadow: 1px 1px 3px 2px #D197ED; box-shadow:1px 1px 3px 2px #D197ED;">
Div content here</div>
This text has color #D197ED on black background.
This text has color #D197ED on white background.
This text has black color on #D197ED background.
This text has white color on #D197ED background.