HEX: #CCB2E0
RGB: (204,178,224)
#CCB2E0 contains red, green and blue colors in about the same proportion. Web safe color of #CCB2E0 is #CC99CC (or #C9C).
#CCB2E0 color RGB value is (204,178,224).
RGB: (204,178,224) (80%,70%,88%)
R 204 of 255 = 80%
G 178 of 255 = 70%
B 224 of 255 = 88%
R + G + B ~ 79%. #CCB2E0 is quite light color.
R + G + B =
204 + 178 + 224 = 606 (100%)
R 204 of 606 ~ 33.66%
G 178 of 606 ~ 29.37%
B 224 of 606 ~ 36.96%
#CCB2E0 color CMYK value is (9,21,0,12).
CMYK: (9,21,0,12) C9M21Y0K12 (9%,21%,0%,12%) (0.09/0.21/0.00/0.12)
CC | B2 | E0 | |
---|---|---|---|
RGB | 204 | 178 | 224 |
HSL | 274° | 42.59% | 78.82% |
HSB/HSV | 274° | 20.54% | 87.84% |
CMYK | 8.93% | 20.54% | 0.00% |
12.16% |
HEX | CC | B2 | E0 |
Decimal | 204 | 178 | 224 |
Binary | 11001100 | 10110010 | 11100000 |
Octal | 314 | 262 | 340 |
Examples of css and html codes for elements with #CCB2E0 color. Also use rgb(204,178,224) instead hex code.
.myTextColor { color: #CCB2E0; }
<p style="color:#CCB2E0">This sample text font color is #CCB2E0.</p>
This text font color is #CCB2E0.
.myBgColor { background-color: #CCB2E0; }
<div style="background-color:#CCB2E0">Inner text</div>
This div background color is #CCB2E0.
.myBorderColor { border: 1px solid #CCB2E0; }
<div style="border:3px solid #CCB2E0">Div</div>
This div border color is #CCB2E0.
.myOpacity80 { color: #CCB2E0; opacity: 0.8; }
<p style="color:#CCB2E0;opacity:0.8;">80%</p>
Text with #CCB2E0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCB2E0;}
<p style="text-shadow: 3px 3px 1px #CCB2E0">Text here.</p>
This text has shadow with #CCB2E0 color.
.textShadow {text-shadow: 3px 3px 1px #CCB2E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCB2E0, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCB2E0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCB2E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCB2E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCB2E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCB2E0; -webkit-box-shadow: 1px 1px 3px 2px #CCB2E0; box-shadow: 1px 1px 3px 2px #CCB2E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCB2E0; -webkit-box-shadow: 1px 1px 3px 2px #CCB2E0; box-shadow:1px 1px 3px 2px #CCB2E0;">
Div content here</div>
This text has color #CCB2E0 on black background.
This text has color #CCB2E0 on white background.
This text has black color on #CCB2E0 background.
This text has white color on #CCB2E0 background.