HEX: #CC98BC
RGB: (204,152,188)
#CC98BC contains red, green and blue colors in about the same proportion. Web safe color of #CC98BC is #CC99CC (or #C9C).
#CC98BC color RGB value is (204,152,188).
RGB: (204,152,188) (80%,60%,74%)
R 204 of 255 = 80%
G 152 of 255 = 60%
B 188 of 255 = 74%
R + G + B ~ 71%. #CC98BC is quite light color.
R + G + B =
204 + 152 + 188 = 544 (100%)
R 204 of 544 ~ 37.5%
G 152 of 544 ~ 27.94%
B 188 of 544 ~ 34.56%
#CC98BC color CMYK value is (0,25,8,20).
CMYK: (0,25,8,20) C0M25Y8K20 (0%,25%,8%,20%) (0.00/0.25/0.08/0.20)
CC | 98 | BC | |
---|---|---|---|
RGB | 204 | 152 | 188 |
HSL | 318° | 33.77% | 69.80% |
HSB/HSV | 318° | 25.49% | 80.00% |
CMYK | 0.00% | 25.49% | 7.84% |
20.00% |
HEX | CC | 98 | BC |
Decimal | 204 | 152 | 188 |
Binary | 11001100 | 10011000 | 10111100 |
Octal | 314 | 230 | 274 |
Examples of css and html codes for elements with #CC98BC color. Also use rgb(204,152,188) instead hex code.
.myTextColor { color: #CC98BC; }
<p style="color:#CC98BC">This sample text font color is #CC98BC.</p>
This text font color is #CC98BC.
.myBgColor { background-color: #CC98BC; }
<div style="background-color:#CC98BC">Inner text</div>
This div background color is #CC98BC.
.myBorderColor { border: 1px solid #CC98BC; }
<div style="border:3px solid #CC98BC">Div</div>
This div border color is #CC98BC.
.myOpacity80 { color: #CC98BC; opacity: 0.8; }
<p style="color:#CC98BC;opacity:0.8;">80%</p>
Text with #CC98BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC98BC;}
<p style="text-shadow: 3px 3px 1px #CC98BC">Text here.</p>
This text has shadow with #CC98BC color.
.textShadow {text-shadow: 3px 3px 1px #CC98BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC98BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC98BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC98BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC98BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC98BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC98BC; -webkit-box-shadow: 1px 1px 3px 2px #CC98BC; box-shadow: 1px 1px 3px 2px #CC98BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC98BC; -webkit-box-shadow: 1px 1px 3px 2px #CC98BC; box-shadow:1px 1px 3px 2px #CC98BC;">
Div content here</div>
This text has color #CC98BC on black background.
This text has color #CC98BC on white background.
This text has black color on #CC98BC background.
This text has white color on #CC98BC background.