HEX: #C7A5CD
RGB: (199,165,205)
#C7A5CD contains red, green and blue colors in about the same proportion. Web safe color of #C7A5CD is #CC99CC (or #C9C).
#C7A5CD color RGB value is (199,165,205).
RGB: (199,165,205) (78%,65%,80%)
R 199 of 255 = 78%
G 165 of 255 = 65%
B 205 of 255 = 80%
R + G + B ~ 74%. #C7A5CD is quite light color.
R + G + B =
199 + 165 + 205 = 569 (100%)
R 199 of 569 ~ 34.97%
G 165 of 569 ~ 29%
B 205 of 569 ~ 36.03%
#C7A5CD color CMYK value is (3,20,0,20).
CMYK: (3,20,0,20) C3M20Y0K20 (3%,20%,0%,20%) (0.03/0.20/0.00/0.20)
C7 | A5 | CD | |
---|---|---|---|
RGB | 199 | 165 | 205 |
HSL | 291° | 28.57% | 72.55% |
HSB/HSV | 291° | 19.51% | 80.39% |
CMYK | 2.93% | 19.51% | 0.00% |
19.61% |
HEX | C7 | A5 | CD |
Decimal | 199 | 165 | 205 |
Binary | 11000111 | 10100101 | 11001101 |
Octal | 307 | 245 | 315 |
Examples of css and html codes for elements with #C7A5CD color. Also use rgb(199,165,205) instead hex code.
.myTextColor { color: #C7A5CD; }
<p style="color:#C7A5CD">This sample text font color is #C7A5CD.</p>
This text font color is #C7A5CD.
.myBgColor { background-color: #C7A5CD; }
<div style="background-color:#C7A5CD">Inner text</div>
This div background color is #C7A5CD.
.myBorderColor { border: 1px solid #C7A5CD; }
<div style="border:3px solid #C7A5CD">Div</div>
This div border color is #C7A5CD.
.myOpacity80 { color: #C7A5CD; opacity: 0.8; }
<p style="color:#C7A5CD;opacity:0.8;">80%</p>
Text with #C7A5CD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7A5CD;}
<p style="text-shadow: 3px 3px 1px #C7A5CD">Text here.</p>
This text has shadow with #C7A5CD color.
.textShadow {text-shadow: 3px 3px 1px #C7A5CD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7A5CD, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7A5CD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7A5CD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7A5CD, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7A5CD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7A5CD; -webkit-box-shadow: 1px 1px 3px 2px #C7A5CD; box-shadow: 1px 1px 3px 2px #C7A5CD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7A5CD; -webkit-box-shadow: 1px 1px 3px 2px #C7A5CD; box-shadow:1px 1px 3px 2px #C7A5CD;">
Div content here</div>
This text has color #C7A5CD on black background.
This text has color #C7A5CD on white background.
This text has black color on #C7A5CD background.
This text has white color on #C7A5CD background.