HEX: #CC7DAF
RGB: (204,125,175)
#CC7DAF contains mainly red and blue colors. Web safe color of #CC7DAF is #CC6699 (or #C69).
#CC7DAF color RGB value is (204,125,175).
RGB: (204,125,175) (80%,49%,69%)
R 204 of 255 = 80%
G 125 of 255 = 49%
B 175 of 255 = 69%
R + G + B ~ 66%. #CC7DAF is quite light color.
R + G + B =
204 + 125 + 175 = 504 (100%)
R 204 of 504 ~ 40.48%
G 125 of 504 ~ 24.8%
B 175 of 504 ~ 34.72%
#CC7DAF color CMYK value is (0,39,14,20).
CMYK: (0,39,14,20) C0M39Y14K20 (0%,39%,14%,20%) (0.00/0.39/0.14/0.20)
CC | 7D | AF | |
---|---|---|---|
RGB | 204 | 125 | 175 |
HSL | 322° | 43.65% | 64.51% |
HSB/HSV | 322° | 38.73% | 80.00% |
CMYK | 0.00% | 38.73% | 14.22% |
20.00% |
HEX | CC | 7D | AF |
Decimal | 204 | 125 | 175 |
Binary | 11001100 | 1111101 | 10101111 |
Octal | 314 | 175 | 257 |
Examples of css and html codes for elements with #CC7DAF color. Also use rgb(204,125,175) instead hex code.
.myTextColor { color: #CC7DAF; }
<p style="color:#CC7DAF">This sample text font color is #CC7DAF.</p>
This text font color is #CC7DAF.
.myBgColor { background-color: #CC7DAF; }
<div style="background-color:#CC7DAF">Inner text</div>
This div background color is #CC7DAF.
.myBorderColor { border: 1px solid #CC7DAF; }
<div style="border:3px solid #CC7DAF">Div</div>
This div border color is #CC7DAF.
.myOpacity80 { color: #CC7DAF; opacity: 0.8; }
<p style="color:#CC7DAF;opacity:0.8;">80%</p>
Text with #CC7DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7DAF;}
<p style="text-shadow: 3px 3px 1px #CC7DAF">Text here.</p>
This text has shadow with #CC7DAF color.
.textShadow {text-shadow: 3px 3px 1px #CC7DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7DAF; -webkit-box-shadow: 1px 1px 3px 2px #CC7DAF; box-shadow: 1px 1px 3px 2px #CC7DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7DAF; -webkit-box-shadow: 1px 1px 3px 2px #CC7DAF; box-shadow:1px 1px 3px 2px #CC7DAF;">
Div content here</div>
This text has color #CC7DAF on black background.
This text has color #CC7DAF on white background.
This text has black color on #CC7DAF background.
This text has white color on #CC7DAF background.