HEX: #CC7ED9
RGB: (204,126,217)
#CC7ED9 contains mainly red and blue colors. Web safe color of #CC7ED9 is #CC66CC (or #C6C).
#CC7ED9 color RGB value is (204,126,217).
RGB: (204,126,217) (80%,49%,85%)
R 204 of 255 = 80%
G 126 of 255 = 49%
B 217 of 255 = 85%
R + G + B ~ 71%. #CC7ED9 is quite light color.
R + G + B =
204 + 126 + 217 = 547 (100%)
R 204 of 547 ~ 37.29%
G 126 of 547 ~ 23.03%
B 217 of 547 ~ 39.67%
#CC7ED9 color CMYK value is (6,42,0,15).
CMYK: (6,42,0,15) C6M42Y0K15 (6%,42%,0%,15%) (0.06/0.42/0.00/0.15)
CC | 7E | D9 | |
---|---|---|---|
RGB | 204 | 126 | 217 |
HSL | 291° | 54.49% | 67.25% |
HSB/HSV | 291° | 41.94% | 85.10% |
CMYK | 5.99% | 41.94% | 0.00% |
14.90% |
HEX | CC | 7E | D9 |
Decimal | 204 | 126 | 217 |
Binary | 11001100 | 1111110 | 11011001 |
Octal | 314 | 176 | 331 |
Examples of css and html codes for elements with #CC7ED9 color. Also use rgb(204,126,217) instead hex code.
.myTextColor { color: #CC7ED9; }
<p style="color:#CC7ED9">This sample text font color is #CC7ED9.</p>
This text font color is #CC7ED9.
.myBgColor { background-color: #CC7ED9; }
<div style="background-color:#CC7ED9">Inner text</div>
This div background color is #CC7ED9.
.myBorderColor { border: 1px solid #CC7ED9; }
<div style="border:3px solid #CC7ED9">Div</div>
This div border color is #CC7ED9.
.myOpacity80 { color: #CC7ED9; opacity: 0.8; }
<p style="color:#CC7ED9;opacity:0.8;">80%</p>
Text with #CC7ED9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7ED9;}
<p style="text-shadow: 3px 3px 1px #CC7ED9">Text here.</p>
This text has shadow with #CC7ED9 color.
.textShadow {text-shadow: 3px 3px 1px #CC7ED9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7ED9, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7ED9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7ED9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7ED9, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7ED9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7ED9; -webkit-box-shadow: 1px 1px 3px 2px #CC7ED9; box-shadow: 1px 1px 3px 2px #CC7ED9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7ED9; -webkit-box-shadow: 1px 1px 3px 2px #CC7ED9; box-shadow:1px 1px 3px 2px #CC7ED9;">
Div content here</div>
This text has color #CC7ED9 on black background.
This text has color #CC7ED9 on white background.
This text has black color on #CC7ED9 background.
This text has white color on #CC7ED9 background.