HEX: #CC999C
RGB: (204,153,156)
#CC999C contains red, green and blue colors in about the same proportion. Web safe color of #CC999C is #CC9999 (or #C99).
#CC999C color RGB value is (204,153,156).
RGB: (204,153,156) (80%,60%,61%)
R 204 of 255 = 80%
G 153 of 255 = 60%
B 156 of 255 = 61%
R + G + B ~ 67%. #CC999C is quite light color.
R + G + B =
204 + 153 + 156 = 513 (100%)
R 204 of 513 ~ 39.77%
G 153 of 513 ~ 29.82%
B 156 of 513 ~ 30.41%
#CC999C color CMYK value is (0,25,24,20).
CMYK: (0,25,24,20) C0M25Y24K20 (0%,25%,24%,20%) (0.00/0.25/0.24/0.20)
CC | 99 | 9C | |
---|---|---|---|
RGB | 204 | 153 | 156 |
HSL | 356° | 33.33% | 70.00% |
HSB/HSV | 356° | 25.00% | 80.00% |
CMYK | 0.00% | 25.00% | 23.53% |
20.00% |
HEX | CC | 99 | 9C |
Decimal | 204 | 153 | 156 |
Binary | 11001100 | 10011001 | 10011100 |
Octal | 314 | 231 | 234 |
Examples of css and html codes for elements with #CC999C color. Also use rgb(204,153,156) instead hex code.
.myTextColor { color: #CC999C; }
<p style="color:#CC999C">This sample text font color is #CC999C.</p>
This text font color is #CC999C.
.myBgColor { background-color: #CC999C; }
<div style="background-color:#CC999C">Inner text</div>
This div background color is #CC999C.
.myBorderColor { border: 1px solid #CC999C; }
<div style="border:3px solid #CC999C">Div</div>
This div border color is #CC999C.
.myOpacity80 { color: #CC999C; opacity: 0.8; }
<p style="color:#CC999C;opacity:0.8;">80%</p>
Text with #CC999C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC999C;}
<p style="text-shadow: 3px 3px 1px #CC999C">Text here.</p>
This text has shadow with #CC999C color.
.textShadow {text-shadow: 3px 3px 1px #CC999C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC999C, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC999C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC999C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC999C, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC999C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC999C; -webkit-box-shadow: 1px 1px 3px 2px #CC999C; box-shadow: 1px 1px 3px 2px #CC999C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC999C; -webkit-box-shadow: 1px 1px 3px 2px #CC999C; box-shadow:1px 1px 3px 2px #CC999C;">
Div content here</div>
This text has color #CC999C on black background.
This text has color #CC999C on white background.
This text has black color on #CC999C background.
This text has white color on #CC999C background.