HEX: #C4A7DF
RGB: (196,167,223)
#C4A7DF contains red, green and blue colors in about the same proportion. Web safe color of #C4A7DF is #CC99CC (or #C9C).
#C4A7DF color RGB value is (196,167,223).
RGB: (196,167,223) (77%,65%,87%)
R 196 of 255 = 77%
G 167 of 255 = 65%
B 223 of 255 = 87%
R + G + B ~ 76%. #C4A7DF is quite light color.
R + G + B =
196 + 167 + 223 = 586 (100%)
R 196 of 586 ~ 33.45%
G 167 of 586 ~ 28.5%
B 223 of 586 ~ 38.05%
#C4A7DF color CMYK value is (12,25,0,13).
CMYK: (12,25,0,13) C12M25Y0K13 (12%,25%,0%,13%) (0.12/0.25/0.00/0.13)
C4 | A7 | DF | |
---|---|---|---|
RGB | 196 | 167 | 223 |
HSL | 271° | 46.67% | 76.47% |
HSB/HSV | 271° | 25.11% | 87.45% |
CMYK | 12.11% | 25.11% | 0.00% |
12.55% |
HEX | C4 | A7 | DF |
Decimal | 196 | 167 | 223 |
Binary | 11000100 | 10100111 | 11011111 |
Octal | 304 | 247 | 337 |
Examples of css and html codes for elements with #C4A7DF color. Also use rgb(196,167,223) instead hex code.
.myTextColor { color: #C4A7DF; }
<p style="color:#C4A7DF">This sample text font color is #C4A7DF.</p>
This text font color is #C4A7DF.
.myBgColor { background-color: #C4A7DF; }
<div style="background-color:#C4A7DF">Inner text</div>
This div background color is #C4A7DF.
.myBorderColor { border: 1px solid #C4A7DF; }
<div style="border:3px solid #C4A7DF">Div</div>
This div border color is #C4A7DF.
.myOpacity80 { color: #C4A7DF; opacity: 0.8; }
<p style="color:#C4A7DF;opacity:0.8;">80%</p>
Text with #C4A7DF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4A7DF;}
<p style="text-shadow: 3px 3px 1px #C4A7DF">Text here.</p>
This text has shadow with #C4A7DF color.
.textShadow {text-shadow: 3px 3px 1px #C4A7DF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4A7DF, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4A7DF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4A7DF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4A7DF, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4A7DF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4A7DF; -webkit-box-shadow: 1px 1px 3px 2px #C4A7DF; box-shadow: 1px 1px 3px 2px #C4A7DF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4A7DF; -webkit-box-shadow: 1px 1px 3px 2px #C4A7DF; box-shadow:1px 1px 3px 2px #C4A7DF;">
Div content here</div>
This text has color #C4A7DF on black background.
This text has color #C4A7DF on white background.
This text has black color on #C4A7DF background.
This text has white color on #C4A7DF background.