HEX: #D198C1
RGB: (209,152,193)
#D198C1 contains red, green and blue colors in about the same proportion. Web safe color of #D198C1 is #CC99CC (or #C9C).
#D198C1 color RGB value is (209,152,193).
RGB: (209,152,193) (82%,60%,76%)
R 209 of 255 = 82%
G 152 of 255 = 60%
B 193 of 255 = 76%
R + G + B ~ 73%. #D198C1 is quite light color.
R + G + B =
209 + 152 + 193 = 554 (100%)
R 209 of 554 ~ 37.73%
G 152 of 554 ~ 27.44%
B 193 of 554 ~ 34.84%
#D198C1 color CMYK value is (0,27,8,18).
CMYK: (0,27,8,18) C0M27Y8K18 (0%,27%,8%,18%) (0.00/0.27/0.08/0.18)
D1 | 98 | C1 | |
---|---|---|---|
RGB | 209 | 152 | 193 |
HSL | 317° | 38.26% | 70.78% |
HSB/HSV | 317° | 27.27% | 81.96% |
CMYK | 0.00% | 27.27% | 7.66% |
18.04% |
HEX | D1 | 98 | C1 |
Decimal | 209 | 152 | 193 |
Binary | 11010001 | 10011000 | 11000001 |
Octal | 321 | 230 | 301 |
Examples of css and html codes for elements with #D198C1 color. Also use rgb(209,152,193) instead hex code.
.myTextColor { color: #D198C1; }
<p style="color:#D198C1">This sample text font color is #D198C1.</p>
This text font color is #D198C1.
.myBgColor { background-color: #D198C1; }
<div style="background-color:#D198C1">Inner text</div>
This div background color is #D198C1.
.myBorderColor { border: 1px solid #D198C1; }
<div style="border:3px solid #D198C1">Div</div>
This div border color is #D198C1.
.myOpacity80 { color: #D198C1; opacity: 0.8; }
<p style="color:#D198C1;opacity:0.8;">80%</p>
Text with #D198C1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D198C1;}
<p style="text-shadow: 3px 3px 1px #D198C1">Text here.</p>
This text has shadow with #D198C1 color.
.textShadow {text-shadow: 3px 3px 1px #D198C1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D198C1, 5px 5px 20px red">Text here.</p>
This text has shadow with #D198C1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D198C1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D198C1, Direction=45, Strength=4)">Text</p>
This text has shadow with #D198C1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D198C1; -webkit-box-shadow: 1px 1px 3px 2px #D198C1; box-shadow: 1px 1px 3px 2px #D198C1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D198C1; -webkit-box-shadow: 1px 1px 3px 2px #D198C1; box-shadow:1px 1px 3px 2px #D198C1;">
Div content here</div>
This text has color #D198C1 on black background.
This text has color #D198C1 on white background.
This text has black color on #D198C1 background.
This text has white color on #D198C1 background.