HEX: #CC9DB9
RGB: (204,157,185)
#CC9DB9 contains red, green and blue colors in about the same proportion. Web safe color of #CC9DB9 is #CC99CC (or #C9C).
#CC9DB9 color RGB value is (204,157,185).
RGB: (204,157,185) (80%,62%,73%)
R 204 of 255 = 80%
G 157 of 255 = 62%
B 185 of 255 = 73%
R + G + B ~ 72%. #CC9DB9 is quite light color.
R + G + B =
204 + 157 + 185 = 546 (100%)
R 204 of 546 ~ 37.36%
G 157 of 546 ~ 28.75%
B 185 of 546 ~ 33.88%
#CC9DB9 color CMYK value is (0,23,9,20).
CMYK: (0,23,9,20) C0M23Y9K20 (0%,23%,9%,20%) (0.00/0.23/0.09/0.20)
CC | 9D | B9 | |
---|---|---|---|
RGB | 204 | 157 | 185 |
HSL | 324° | 31.54% | 70.78% |
HSB/HSV | 324° | 23.04% | 80.00% |
CMYK | 0.00% | 23.04% | 9.31% |
20.00% |
HEX | CC | 9D | B9 |
Decimal | 204 | 157 | 185 |
Binary | 11001100 | 10011101 | 10111001 |
Octal | 314 | 235 | 271 |
Examples of css and html codes for elements with #CC9DB9 color. Also use rgb(204,157,185) instead hex code.
.myTextColor { color: #CC9DB9; }
<p style="color:#CC9DB9">This sample text font color is #CC9DB9.</p>
This text font color is #CC9DB9.
.myBgColor { background-color: #CC9DB9; }
<div style="background-color:#CC9DB9">Inner text</div>
This div background color is #CC9DB9.
.myBorderColor { border: 1px solid #CC9DB9; }
<div style="border:3px solid #CC9DB9">Div</div>
This div border color is #CC9DB9.
.myOpacity80 { color: #CC9DB9; opacity: 0.8; }
<p style="color:#CC9DB9;opacity:0.8;">80%</p>
Text with #CC9DB9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC9DB9;}
<p style="text-shadow: 3px 3px 1px #CC9DB9">Text here.</p>
This text has shadow with #CC9DB9 color.
.textShadow {text-shadow: 3px 3px 1px #CC9DB9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC9DB9, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC9DB9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC9DB9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC9DB9, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC9DB9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC9DB9; -webkit-box-shadow: 1px 1px 3px 2px #CC9DB9; box-shadow: 1px 1px 3px 2px #CC9DB9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC9DB9; -webkit-box-shadow: 1px 1px 3px 2px #CC9DB9; box-shadow:1px 1px 3px 2px #CC9DB9;">
Div content here</div>
This text has color #CC9DB9 on black background.
This text has color #CC9DB9 on white background.
This text has black color on #CC9DB9 background.
This text has white color on #CC9DB9 background.