HEX: #CC9FBC
RGB: (204,159,188)
#CC9FBC contains red, green and blue colors in about the same proportion. Web safe color of #CC9FBC is #CC99CC (or #C9C).
#CC9FBC color RGB value is (204,159,188).
RGB: (204,159,188) (80%,62%,74%)
R 204 of 255 = 80%
G 159 of 255 = 62%
B 188 of 255 = 74%
R + G + B ~ 72%. #CC9FBC is quite light color.
R + G + B =
204 + 159 + 188 = 551 (100%)
R 204 of 551 ~ 37.02%
G 159 of 551 ~ 28.86%
B 188 of 551 ~ 34.12%
#CC9FBC color CMYK value is (0,22,8,20).
CMYK: (0,22,8,20) C0M22Y8K20 (0%,22%,8%,20%) (0.00/0.22/0.08/0.20)
CC | 9F | BC | |
---|---|---|---|
RGB | 204 | 159 | 188 |
HSL | 321° | 30.61% | 71.18% |
HSB/HSV | 321° | 22.06% | 80.00% |
CMYK | 0.00% | 22.06% | 7.84% |
20.00% |
HEX | CC | 9F | BC |
Decimal | 204 | 159 | 188 |
Binary | 11001100 | 10011111 | 10111100 |
Octal | 314 | 237 | 274 |
Examples of css and html codes for elements with #CC9FBC color. Also use rgb(204,159,188) instead hex code.
.myTextColor { color: #CC9FBC; }
<p style="color:#CC9FBC">This sample text font color is #CC9FBC.</p>
This text font color is #CC9FBC.
.myBgColor { background-color: #CC9FBC; }
<div style="background-color:#CC9FBC">Inner text</div>
This div background color is #CC9FBC.
.myBorderColor { border: 1px solid #CC9FBC; }
<div style="border:3px solid #CC9FBC">Div</div>
This div border color is #CC9FBC.
.myOpacity80 { color: #CC9FBC; opacity: 0.8; }
<p style="color:#CC9FBC;opacity:0.8;">80%</p>
Text with #CC9FBC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC9FBC;}
<p style="text-shadow: 3px 3px 1px #CC9FBC">Text here.</p>
This text has shadow with #CC9FBC color.
.textShadow {text-shadow: 3px 3px 1px #CC9FBC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC9FBC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC9FBC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC9FBC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC9FBC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC9FBC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC9FBC; -webkit-box-shadow: 1px 1px 3px 2px #CC9FBC; box-shadow: 1px 1px 3px 2px #CC9FBC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC9FBC; -webkit-box-shadow: 1px 1px 3px 2px #CC9FBC; box-shadow:1px 1px 3px 2px #CC9FBC;">
Div content here</div>
This text has color #CC9FBC on black background.
This text has color #CC9FBC on white background.
This text has black color on #CC9FBC background.
This text has white color on #CC9FBC background.