HEX: #CC87CC
RGB: (204,135,204)
#CC87CC contains mainly red and blue colors. Web safe color of #CC87CC is #CC99CC (or #C9C).
#CC87CC color RGB value is (204,135,204).
RGB: (204,135,204)
(80%, 53%, 80%)
R 204 of 255 = 80%
G 135 of 255 = 53%
B 204 of 255 = 80%
R + G + B ~ 71%. #CC87CC is quite light color.
R + G + B = 204 + 135 + 204 = 543 (100%)
R 204 of 543 ~ 37.57%
G 135 of 543 ~ 24.86%
B 204 of 543 ~ 37.57'%
#CC87CC color CMYK value is (0,34,0,20).
CMYK: (0,34,0,20)
C0M34Y0K20 (0%, 34%, 0%, 20%)
(0.00 / 0.34 / 0.00 / 0.20)
Color #CC87CC in popluar color models
CC | 87 | CC | |
---|---|---|---|
RGB | 204 | 135 | 204 |
HSL | 300° | 40.35% | 66.47% |
HSB/HSV | 300° | 33.82% | 80.00% |
CMYK | 0.00% | 33.82% | 0.00% |
20.00% |
Color #CC87CC in popluar number systems.
HEX | CC | 87 | CC |
Decimal | 204 | 135 | 204 |
Binary | 11001100 | 10000111 | 11001100 |
Octal | 314 | 207 | 314 |
Shades of #CC87CC
Tints of #CC87CC
Examples of css and html codes for elements with #CC87CC color. Also use rgb(204,135,204) instead hex code.
.myTextColor { color: #CC87CC; }
<p style="color:#CC87CC">This sample text font color is #CC87CC.</p>
This text font color is #CC87CC.
.myBgColor { background-color: #CC87CC; }
<div style="background-color:#CC87CC">Inner text</div>
This div background color is #CC87CC.
.myBorderColor { border: 1px solid #CC87CC; }
<div style="border:3px solid #CC87CC">Div</div>
This div border color is #CC87CC.
.myOpacity80 { color: #CC87CC; opacity: 0.8; }
<p style="color:#CC87CC;opacity:0.8;">80%</p>
Text with #CC87CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC87CC;}
<p style="text-shadow: 3px 3px 1px #CC87CC">Text here.</p>
This text has shadow with #CC87CC color.
.textShadow {text-shadow: 3px 3px 1px #CC87CC', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC87CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC87CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC87CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC87CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC87CC and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #CC87CC;
-webkit-box-shadow: 1px 1px 3px 2px #CC87CC;
box-shadow: 1px 1px 3px 2px #CC87CC;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #CC87CC; -webkit-box-shadow: 1px 1px 3px 2px #CC87CC; box-shadow:1px 1px 3px 2px #CC87CC;">
Div content here
</div>
This text has color #CC87CC on black background.
This text has color #CC87CC on white background.
This text has black color on #CC87CC background.
This text has white color on #CC87CC background.
Complementary color for #hex is #337833.