HEX: #C7A0CF
RGB: (199,160,207)
#C7A0CF contains red, green and blue colors in about the same proportion. Web safe color of #C7A0CF is #CC99CC (or #C9C).
#C7A0CF color RGB value is (199,160,207).
RGB: (199,160,207) (78%,63%,81%)
R 199 of 255 = 78%
G 160 of 255 = 63%
B 207 of 255 = 81%
R + G + B ~ 74%. #C7A0CF is quite light color.
R + G + B =
199 + 160 + 207 = 566 (100%)
R 199 of 566 ~ 35.16%
G 160 of 566 ~ 28.27%
B 207 of 566 ~ 36.57%
#C7A0CF color CMYK value is (4,23,0,19).
CMYK: (4,23,0,19) C4M23Y0K19 (4%,23%,0%,19%) (0.04/0.23/0.00/0.19)
C7 | A0 | CF | |
---|---|---|---|
RGB | 199 | 160 | 207 |
HSL | 290° | 32.87% | 71.96% |
HSB/HSV | 290° | 22.71% | 81.18% |
CMYK | 3.86% | 22.71% | 0.00% |
18.82% |
HEX | C7 | A0 | CF |
Decimal | 199 | 160 | 207 |
Binary | 11000111 | 10100000 | 11001111 |
Octal | 307 | 240 | 317 |
Examples of css and html codes for elements with #C7A0CF color. Also use rgb(199,160,207) instead hex code.
.myTextColor { color: #C7A0CF; }
<p style="color:#C7A0CF">This sample text font color is #C7A0CF.</p>
This text font color is #C7A0CF.
.myBgColor { background-color: #C7A0CF; }
<div style="background-color:#C7A0CF">Inner text</div>
This div background color is #C7A0CF.
.myBorderColor { border: 1px solid #C7A0CF; }
<div style="border:3px solid #C7A0CF">Div</div>
This div border color is #C7A0CF.
.myOpacity80 { color: #C7A0CF; opacity: 0.8; }
<p style="color:#C7A0CF;opacity:0.8;">80%</p>
Text with #C7A0CF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7A0CF;}
<p style="text-shadow: 3px 3px 1px #C7A0CF">Text here.</p>
This text has shadow with #C7A0CF color.
.textShadow {text-shadow: 3px 3px 1px #C7A0CF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7A0CF, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7A0CF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7A0CF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7A0CF, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7A0CF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7A0CF; -webkit-box-shadow: 1px 1px 3px 2px #C7A0CF; box-shadow: 1px 1px 3px 2px #C7A0CF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7A0CF; -webkit-box-shadow: 1px 1px 3px 2px #C7A0CF; box-shadow:1px 1px 3px 2px #C7A0CF;">
Div content here</div>
This text has color #C7A0CF on black background.
This text has color #C7A0CF on white background.
This text has black color on #C7A0CF background.
This text has white color on #C7A0CF background.