HEX: #C7A6DA
RGB: (199,166,218)
#C7A6DA contains red, green and blue colors in about the same proportion. Web safe color of #C7A6DA is #CC99CC (or #C9C).
#C7A6DA color RGB value is (199,166,218).
RGB: (199,166,218) (78%,65%,85%)
R 199 of 255 = 78%
G 166 of 255 = 65%
B 218 of 255 = 85%
R + G + B ~ 76%. #C7A6DA is quite light color.
R + G + B =
199 + 166 + 218 = 583 (100%)
R 199 of 583 ~ 34.13%
G 166 of 583 ~ 28.47%
B 218 of 583 ~ 37.39%
#C7A6DA color CMYK value is (9,24,0,15).
CMYK: (9,24,0,15) C9M24Y0K15 (9%,24%,0%,15%) (0.09/0.24/0.00/0.15)
C7 | A6 | DA | |
---|---|---|---|
RGB | 199 | 166 | 218 |
HSL | 278° | 41.27% | 75.29% |
HSB/HSV | 278° | 23.85% | 85.49% |
CMYK | 8.72% | 23.85% | 0.00% |
14.51% |
HEX | C7 | A6 | DA |
Decimal | 199 | 166 | 218 |
Binary | 11000111 | 10100110 | 11011010 |
Octal | 307 | 246 | 332 |
Examples of css and html codes for elements with #C7A6DA color. Also use rgb(199,166,218) instead hex code.
.myTextColor { color: #C7A6DA; }
<p style="color:#C7A6DA">This sample text font color is #C7A6DA.</p>
This text font color is #C7A6DA.
.myBgColor { background-color: #C7A6DA; }
<div style="background-color:#C7A6DA">Inner text</div>
This div background color is #C7A6DA.
.myBorderColor { border: 1px solid #C7A6DA; }
<div style="border:3px solid #C7A6DA">Div</div>
This div border color is #C7A6DA.
.myOpacity80 { color: #C7A6DA; opacity: 0.8; }
<p style="color:#C7A6DA;opacity:0.8;">80%</p>
Text with #C7A6DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7A6DA;}
<p style="text-shadow: 3px 3px 1px #C7A6DA">Text here.</p>
This text has shadow with #C7A6DA color.
.textShadow {text-shadow: 3px 3px 1px #C7A6DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7A6DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7A6DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7A6DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7A6DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7A6DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7A6DA; -webkit-box-shadow: 1px 1px 3px 2px #C7A6DA; box-shadow: 1px 1px 3px 2px #C7A6DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7A6DA; -webkit-box-shadow: 1px 1px 3px 2px #C7A6DA; box-shadow:1px 1px 3px 2px #C7A6DA;">
Div content here</div>
This text has color #C7A6DA on black background.
This text has color #C7A6DA on white background.
This text has black color on #C7A6DA background.
This text has white color on #C7A6DA background.