HEX: #C7A1DA
RGB: (199,161,218)
#C7A1DA contains red, green and blue colors in about the same proportion. Web safe color of #C7A1DA is #CC99CC (or #C9C).
#C7A1DA color RGB value is (199,161,218).
RGB: (199,161,218) (78%,63%,85%)
R 199 of 255 = 78%
G 161 of 255 = 63%
B 218 of 255 = 85%
R + G + B ~ 75%. #C7A1DA is quite light color.
R + G + B =
199 + 161 + 218 = 578 (100%)
R 199 of 578 ~ 34.43%
G 161 of 578 ~ 27.85%
B 218 of 578 ~ 37.72%
#C7A1DA color CMYK value is (9,26,0,15).
CMYK: (9,26,0,15) C9M26Y0K15 (9%,26%,0%,15%) (0.09/0.26/0.00/0.15)
C7 | A1 | DA | |
---|---|---|---|
RGB | 199 | 161 | 218 |
HSL | 280° | 43.51% | 74.31% |
HSB/HSV | 280° | 26.15% | 85.49% |
CMYK | 8.72% | 26.15% | 0.00% |
14.51% |
HEX | C7 | A1 | DA |
Decimal | 199 | 161 | 218 |
Binary | 11000111 | 10100001 | 11011010 |
Octal | 307 | 241 | 332 |
Examples of css and html codes for elements with #C7A1DA color. Also use rgb(199,161,218) instead hex code.
.myTextColor { color: #C7A1DA; }
<p style="color:#C7A1DA">This sample text font color is #C7A1DA.</p>
This text font color is #C7A1DA.
.myBgColor { background-color: #C7A1DA; }
<div style="background-color:#C7A1DA">Inner text</div>
This div background color is #C7A1DA.
.myBorderColor { border: 1px solid #C7A1DA; }
<div style="border:3px solid #C7A1DA">Div</div>
This div border color is #C7A1DA.
.myOpacity80 { color: #C7A1DA; opacity: 0.8; }
<p style="color:#C7A1DA;opacity:0.8;">80%</p>
Text with #C7A1DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7A1DA;}
<p style="text-shadow: 3px 3px 1px #C7A1DA">Text here.</p>
This text has shadow with #C7A1DA color.
.textShadow {text-shadow: 3px 3px 1px #C7A1DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7A1DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7A1DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7A1DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7A1DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7A1DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7A1DA; -webkit-box-shadow: 1px 1px 3px 2px #C7A1DA; box-shadow: 1px 1px 3px 2px #C7A1DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7A1DA; -webkit-box-shadow: 1px 1px 3px 2px #C7A1DA; box-shadow:1px 1px 3px 2px #C7A1DA;">
Div content here</div>
This text has color #C7A1DA on black background.
This text has color #C7A1DA on white background.
This text has black color on #C7A1DA background.
This text has white color on #C7A1DA background.