HEX: #CCB0CC
RGB: (204,176,204)
#CCB0CC contains red, green and blue colors in about the same proportion. Web safe color of #CCB0CC is #CC99CC (or #C9C).
#CCB0CC color RGB value is (204,176,204).
RGB: (204,176,204) (80%,69%,80%)
R 204 of 255 = 80%
G 176 of 255 = 69%
B 204 of 255 = 80%
R + G + B ~ 76%. #CCB0CC is quite light color.
R + G + B =
204 + 176 + 204 = 584 (100%)
R 204 of 584 ~ 34.93%
G 176 of 584 ~ 30.14%
B 204 of 584 ~ 34.93%
#CCB0CC color CMYK value is (0,14,0,20).
CMYK: (0,14,0,20) C0M14Y0K20 (0%,14%,0%,20%) (0.00/0.14/0.00/0.20)
CC | B0 | CC | |
---|---|---|---|
RGB | 204 | 176 | 204 |
HSL | 300° | 21.54% | 74.51% |
HSB/HSV | 300° | 13.73% | 80.00% |
CMYK | 0.00% | 13.73% | 0.00% |
20.00% |
HEX | CC | B0 | CC |
Decimal | 204 | 176 | 204 |
Binary | 11001100 | 10110000 | 11001100 |
Octal | 314 | 260 | 314 |
Examples of css and html codes for elements with #CCB0CC color. Also use rgb(204,176,204) instead hex code.
.myTextColor { color: #CCB0CC; }
<p style="color:#CCB0CC">This sample text font color is #CCB0CC.</p>
This text font color is #CCB0CC.
.myBgColor { background-color: #CCB0CC; }
<div style="background-color:#CCB0CC">Inner text</div>
This div background color is #CCB0CC.
.myBorderColor { border: 1px solid #CCB0CC; }
<div style="border:3px solid #CCB0CC">Div</div>
This div border color is #CCB0CC.
.myOpacity80 { color: #CCB0CC; opacity: 0.8; }
<p style="color:#CCB0CC;opacity:0.8;">80%</p>
Text with #CCB0CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCB0CC;}
<p style="text-shadow: 3px 3px 1px #CCB0CC">Text here.</p>
This text has shadow with #CCB0CC color.
.textShadow {text-shadow: 3px 3px 1px #CCB0CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCB0CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCB0CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCB0CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCB0CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCB0CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCB0CC; -webkit-box-shadow: 1px 1px 3px 2px #CCB0CC; box-shadow: 1px 1px 3px 2px #CCB0CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCB0CC; -webkit-box-shadow: 1px 1px 3px 2px #CCB0CC; box-shadow:1px 1px 3px 2px #CCB0CC;">
Div content here</div>
This text has color #CCB0CC on black background.
This text has color #CCB0CC on white background.
This text has black color on #CCB0CC background.
This text has white color on #CCB0CC background.