HEX: #C7AFCC
RGB: (199,175,204)
#C7AFCC contains red, green and blue colors in about the same proportion. Web safe color of #C7AFCC is #CC99CC (or #C9C).
#C7AFCC color RGB value is (199,175,204).
RGB: (199,175,204) (78%,69%,80%)
R 199 of 255 = 78%
G 175 of 255 = 69%
B 204 of 255 = 80%
R + G + B ~ 76%. #C7AFCC is quite light color.
R + G + B =
199 + 175 + 204 = 578 (100%)
R 199 of 578 ~ 34.43%
G 175 of 578 ~ 30.28%
B 204 of 578 ~ 35.29%
#C7AFCC color CMYK value is (2,14,0,20).
CMYK: (2,14,0,20) C2M14Y0K20 (2%,14%,0%,20%) (0.02/0.14/0.00/0.20)
C7 | AF | CC | |
---|---|---|---|
RGB | 199 | 175 | 204 |
HSL | 290° | 22.14% | 74.31% |
HSB/HSV | 290° | 14.22% | 80.00% |
CMYK | 2.45% | 14.22% | 0.00% |
20.00% |
HEX | C7 | AF | CC |
Decimal | 199 | 175 | 204 |
Binary | 11000111 | 10101111 | 11001100 |
Octal | 307 | 257 | 314 |
Examples of css and html codes for elements with #C7AFCC color. Also use rgb(199,175,204) instead hex code.
.myTextColor { color: #C7AFCC; }
<p style="color:#C7AFCC">This sample text font color is #C7AFCC.</p>
This text font color is #C7AFCC.
.myBgColor { background-color: #C7AFCC; }
<div style="background-color:#C7AFCC">Inner text</div>
This div background color is #C7AFCC.
.myBorderColor { border: 1px solid #C7AFCC; }
<div style="border:3px solid #C7AFCC">Div</div>
This div border color is #C7AFCC.
.myOpacity80 { color: #C7AFCC; opacity: 0.8; }
<p style="color:#C7AFCC;opacity:0.8;">80%</p>
Text with #C7AFCC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7AFCC;}
<p style="text-shadow: 3px 3px 1px #C7AFCC">Text here.</p>
This text has shadow with #C7AFCC color.
.textShadow {text-shadow: 3px 3px 1px #C7AFCC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7AFCC, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7AFCC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7AFCC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7AFCC, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7AFCC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7AFCC; -webkit-box-shadow: 1px 1px 3px 2px #C7AFCC; box-shadow: 1px 1px 3px 2px #C7AFCC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7AFCC; -webkit-box-shadow: 1px 1px 3px 2px #C7AFCC; box-shadow:1px 1px 3px 2px #C7AFCC;">
Div content here</div>
This text has color #C7AFCC on black background.
This text has color #C7AFCC on white background.
This text has black color on #C7AFCC background.
This text has white color on #C7AFCC background.