HEX: #CC8CC0
RGB: (204,140,192)
#CC8CC0 contains mainly red and blue colors. Web safe color of #CC8CC0 is #CC99CC (or #C9C).
#CC8CC0 color RGB value is (204,140,192).
RGB: (204,140,192) (80%,55%,75%)
R 204 of 255 = 80%
G 140 of 255 = 55%
B 192 of 255 = 75%
R + G + B ~ 70%. #CC8CC0 is quite light color.
R + G + B =
204 + 140 + 192 = 536 (100%)
R 204 of 536 ~ 38.06%
G 140 of 536 ~ 26.12%
B 192 of 536 ~ 35.82%
#CC8CC0 color CMYK value is (0,31,6,20).
CMYK: (0,31,6,20) C0M31Y6K20 (0%,31%,6%,20%) (0.00/0.31/0.06/0.20)
CC | 8C | C0 | |
---|---|---|---|
RGB | 204 | 140 | 192 |
HSL | 311° | 38.55% | 67.45% |
HSB/HSV | 311° | 31.37% | 80.00% |
CMYK | 0.00% | 31.37% | 5.88% |
20.00% |
HEX | CC | 8C | C0 |
Decimal | 204 | 140 | 192 |
Binary | 11001100 | 10001100 | 11000000 |
Octal | 314 | 214 | 300 |
Examples of css and html codes for elements with #CC8CC0 color. Also use rgb(204,140,192) instead hex code.
.myTextColor { color: #CC8CC0; }
<p style="color:#CC8CC0">This sample text font color is #CC8CC0.</p>
This text font color is #CC8CC0.
.myBgColor { background-color: #CC8CC0; }
<div style="background-color:#CC8CC0">Inner text</div>
This div background color is #CC8CC0.
.myBorderColor { border: 1px solid #CC8CC0; }
<div style="border:3px solid #CC8CC0">Div</div>
This div border color is #CC8CC0.
.myOpacity80 { color: #CC8CC0; opacity: 0.8; }
<p style="color:#CC8CC0;opacity:0.8;">80%</p>
Text with #CC8CC0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC8CC0;}
<p style="text-shadow: 3px 3px 1px #CC8CC0">Text here.</p>
This text has shadow with #CC8CC0 color.
.textShadow {text-shadow: 3px 3px 1px #CC8CC0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC8CC0, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC8CC0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC8CC0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC8CC0, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC8CC0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC8CC0; -webkit-box-shadow: 1px 1px 3px 2px #CC8CC0; box-shadow: 1px 1px 3px 2px #CC8CC0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC8CC0; -webkit-box-shadow: 1px 1px 3px 2px #CC8CC0; box-shadow:1px 1px 3px 2px #CC8CC0;">
Div content here</div>
This text has color #CC8CC0 on black background.
This text has color #CC8CC0 on white background.
This text has black color on #CC8CC0 background.
This text has white color on #CC8CC0 background.