HEX: #C998CD
RGB: (201,152,205)
#C998CD contains red, green and blue colors in about the same proportion. Web safe color of #C998CD is #CC99CC (or #C9C).
#C998CD color RGB value is (201,152,205).
RGB: (201,152,205) (79%,60%,80%)
R 201 of 255 = 79%
G 152 of 255 = 60%
B 205 of 255 = 80%
R + G + B ~ 73%. #C998CD is quite light color.
R + G + B =
201 + 152 + 205 = 558 (100%)
R 201 of 558 ~ 36.02%
G 152 of 558 ~ 27.24%
B 205 of 558 ~ 36.74%
#C998CD color CMYK value is (2,26,0,20).
CMYK: (2,26,0,20) C2M26Y0K20 (2%,26%,0%,20%) (0.02/0.26/0.00/0.20)
C9 | 98 | CD | |
---|---|---|---|
RGB | 201 | 152 | 205 |
HSL | 295° | 34.64% | 70.00% |
HSB/HSV | 295° | 25.85% | 80.39% |
CMYK | 1.95% | 25.85% | 0.00% |
19.61% |
HEX | C9 | 98 | CD |
Decimal | 201 | 152 | 205 |
Binary | 11001001 | 10011000 | 11001101 |
Octal | 311 | 230 | 315 |
Examples of css and html codes for elements with #C998CD color. Also use rgb(201,152,205) instead hex code.
.myTextColor { color: #C998CD; }
<p style="color:#C998CD">This sample text font color is #C998CD.</p>
This text font color is #C998CD.
.myBgColor { background-color: #C998CD; }
<div style="background-color:#C998CD">Inner text</div>
This div background color is #C998CD.
.myBorderColor { border: 1px solid #C998CD; }
<div style="border:3px solid #C998CD">Div</div>
This div border color is #C998CD.
.myOpacity80 { color: #C998CD; opacity: 0.8; }
<p style="color:#C998CD;opacity:0.8;">80%</p>
Text with #C998CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C998CD;}
<p style="text-shadow: 3px 3px 1px #C998CD">Text here.</p>
This text has shadow with #C998CD color.
.textShadow {text-shadow: 3px 3px 1px #C998CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C998CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #C998CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C998CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C998CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #C998CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C998CD; -webkit-box-shadow: 1px 1px 3px 2px #C998CD; box-shadow: 1px 1px 3px 2px #C998CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C998CD; -webkit-box-shadow: 1px 1px 3px 2px #C998CD; box-shadow:1px 1px 3px 2px #C998CD;">
Div content here</div>
This text has color #C998CD on black background.
This text has color #C998CD on white background.
This text has black color on #C998CD background.
This text has white color on #C998CD background.