HEX: #C898DB
RGB: (200,152,219)
#C898DB contains mainly red and blue colors. Web safe color of #C898DB is #CC99CC (or #C9C).
#C898DB color RGB value is (200,152,219).
RGB: (200,152,219) (78%,60%,86%)
R 200 of 255 = 78%
G 152 of 255 = 60%
B 219 of 255 = 86%
R + G + B ~ 75%. #C898DB is quite light color.
R + G + B =
200 + 152 + 219 = 571 (100%)
R 200 of 571 ~ 35.03%
G 152 of 571 ~ 26.62%
B 219 of 571 ~ 38.35%
#C898DB color CMYK value is (9,31,0,14).
CMYK: (9,31,0,14) C9M31Y0K14 (9%,31%,0%,14%) (0.09/0.31/0.00/0.14)
C8 | 98 | DB | |
---|---|---|---|
RGB | 200 | 152 | 219 |
HSL | 283° | 48.20% | 72.75% |
HSB/HSV | 283° | 30.59% | 85.88% |
CMYK | 8.68% | 30.59% | 0.00% |
14.12% |
HEX | C8 | 98 | DB |
Decimal | 200 | 152 | 219 |
Binary | 11001000 | 10011000 | 11011011 |
Octal | 310 | 230 | 333 |
Examples of css and html codes for elements with #C898DB color. Also use rgb(200,152,219) instead hex code.
.myTextColor { color: #C898DB; }
<p style="color:#C898DB">This sample text font color is #C898DB.</p>
This text font color is #C898DB.
.myBgColor { background-color: #C898DB; }
<div style="background-color:#C898DB">Inner text</div>
This div background color is #C898DB.
.myBorderColor { border: 1px solid #C898DB; }
<div style="border:3px solid #C898DB">Div</div>
This div border color is #C898DB.
.myOpacity80 { color: #C898DB; opacity: 0.8; }
<p style="color:#C898DB;opacity:0.8;">80%</p>
Text with #C898DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C898DB;}
<p style="text-shadow: 3px 3px 1px #C898DB">Text here.</p>
This text has shadow with #C898DB color.
.textShadow {text-shadow: 3px 3px 1px #C898DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C898DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C898DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C898DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C898DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C898DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C898DB; -webkit-box-shadow: 1px 1px 3px 2px #C898DB; box-shadow: 1px 1px 3px 2px #C898DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C898DB; -webkit-box-shadow: 1px 1px 3px 2px #C898DB; box-shadow:1px 1px 3px 2px #C898DB;">
Div content here</div>
This text has color #C898DB on black background.
This text has color #C898DB on white background.
This text has black color on #C898DB background.
This text has white color on #C898DB background.