HEX: #CC7CA6
RGB: (204,124,166)
#CC7CA6 contains mainly red and blue colors. Web safe color of #CC7CA6 is #CC6699 (or #C69).
#CC7CA6 color RGB value is (204,124,166).
RGB: (204,124,166) (80%,49%,65%)
R 204 of 255 = 80%
G 124 of 255 = 49%
B 166 of 255 = 65%
R + G + B ~ 65%. #CC7CA6 is quite light color.
R + G + B =
204 + 124 + 166 = 494 (100%)
R 204 of 494 ~ 41.3%
G 124 of 494 ~ 25.1%
B 166 of 494 ~ 33.6%
#CC7CA6 color CMYK value is (0,39,19,20).
CMYK: (0,39,19,20) C0M39Y19K20 (0%,39%,19%,20%) (0.00/0.39/0.19/0.20)
CC | 7C | A6 | |
---|---|---|---|
RGB | 204 | 124 | 166 |
HSL | 329° | 43.96% | 64.31% |
HSB/HSV | 329° | 39.22% | 80.00% |
CMYK | 0.00% | 39.22% | 18.63% |
20.00% |
HEX | CC | 7C | A6 |
Decimal | 204 | 124 | 166 |
Binary | 11001100 | 1111100 | 10100110 |
Octal | 314 | 174 | 246 |
Examples of css and html codes for elements with #CC7CA6 color. Also use rgb(204,124,166) instead hex code.
.myTextColor { color: #CC7CA6; }
<p style="color:#CC7CA6">This sample text font color is #CC7CA6.</p>
This text font color is #CC7CA6.
.myBgColor { background-color: #CC7CA6; }
<div style="background-color:#CC7CA6">Inner text</div>
This div background color is #CC7CA6.
.myBorderColor { border: 1px solid #CC7CA6; }
<div style="border:3px solid #CC7CA6">Div</div>
This div border color is #CC7CA6.
.myOpacity80 { color: #CC7CA6; opacity: 0.8; }
<p style="color:#CC7CA6;opacity:0.8;">80%</p>
Text with #CC7CA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7CA6;}
<p style="text-shadow: 3px 3px 1px #CC7CA6">Text here.</p>
This text has shadow with #CC7CA6 color.
.textShadow {text-shadow: 3px 3px 1px #CC7CA6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7CA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7CA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7CA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7CA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7CA6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7CA6; -webkit-box-shadow: 1px 1px 3px 2px #CC7CA6; box-shadow: 1px 1px 3px 2px #CC7CA6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7CA6; -webkit-box-shadow: 1px 1px 3px 2px #CC7CA6; box-shadow:1px 1px 3px 2px #CC7CA6;">
Div content here</div>
This text has color #CC7CA6 on black background.
This text has color #CC7CA6 on white background.
This text has black color on #CC7CA6 background.
This text has white color on #CC7CA6 background.