HEX: #CC9EAA
RGB: (204,158,170)
#CC9EAA contains red, green and blue colors in about the same proportion. Web safe color of #CC9EAA is #CC9999 (or #C99).
#CC9EAA color RGB value is (204,158,170).
RGB: (204,158,170) (80%,62%,67%)
R 204 of 255 = 80%
G 158 of 255 = 62%
B 170 of 255 = 67%
R + G + B ~ 70%. #CC9EAA is quite light color.
R + G + B =
204 + 158 + 170 = 532 (100%)
R 204 of 532 ~ 38.35%
G 158 of 532 ~ 29.7%
B 170 of 532 ~ 31.95%
#CC9EAA color CMYK value is (0,23,17,20).
CMYK: (0,23,17,20) C0M23Y17K20 (0%,23%,17%,20%) (0.00/0.23/0.17/0.20)
CC | 9E | AA | |
---|---|---|---|
RGB | 204 | 158 | 170 |
HSL | 344° | 31.08% | 70.98% |
HSB/HSV | 344° | 22.55% | 80.00% |
CMYK | 0.00% | 22.55% | 16.67% |
20.00% |
HEX | CC | 9E | AA |
Decimal | 204 | 158 | 170 |
Binary | 11001100 | 10011110 | 10101010 |
Octal | 314 | 236 | 252 |
Examples of css and html codes for elements with #CC9EAA color. Also use rgb(204,158,170) instead hex code.
.myTextColor { color: #CC9EAA; }
<p style="color:#CC9EAA">This sample text font color is #CC9EAA.</p>
This text font color is #CC9EAA.
.myBgColor { background-color: #CC9EAA; }
<div style="background-color:#CC9EAA">Inner text</div>
This div background color is #CC9EAA.
.myBorderColor { border: 1px solid #CC9EAA; }
<div style="border:3px solid #CC9EAA">Div</div>
This div border color is #CC9EAA.
.myOpacity80 { color: #CC9EAA; opacity: 0.8; }
<p style="color:#CC9EAA;opacity:0.8;">80%</p>
Text with #CC9EAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC9EAA;}
<p style="text-shadow: 3px 3px 1px #CC9EAA">Text here.</p>
This text has shadow with #CC9EAA color.
.textShadow {text-shadow: 3px 3px 1px #CC9EAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC9EAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC9EAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC9EAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC9EAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC9EAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC9EAA; -webkit-box-shadow: 1px 1px 3px 2px #CC9EAA; box-shadow: 1px 1px 3px 2px #CC9EAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC9EAA; -webkit-box-shadow: 1px 1px 3px 2px #CC9EAA; box-shadow:1px 1px 3px 2px #CC9EAA;">
Div content here</div>
This text has color #CC9EAA on black background.
This text has color #CC9EAA on white background.
This text has black color on #CC9EAA background.
This text has white color on #CC9EAA background.