HEX: #C640CC
RGB: (198,64,204)
#C640CC contains mainly red and blue colors. Web safe color of #C640CC is #CC33CC (or #C3C).
#C640CC color RGB value is (198,64,204).
RGB: (198,64,204) (78%,25%,80%)
R 198 of 255 = 78%
G 64 of 255 = 25%
B 204 of 255 = 80%
R + G + B ~ 61%. #C640CC is quite light color.
R + G + B =
198 + 64 + 204 = 466 (100%)
R 198 of 466 ~ 42.49%
G 64 of 466 ~ 13.73%
B 204 of 466 ~ 43.78%
#C640CC color CMYK value is (3,69,0,20).
CMYK: (3,69,0,20) C3M69Y0K20 (3%,69%,0%,20%) (0.03/0.69/0.00/0.20)
C6 | 40 | CC | |
---|---|---|---|
RGB | 198 | 64 | 204 |
HSL | 297° | 57.85% | 52.55% |
HSB/HSV | 297° | 68.63% | 80.00% |
CMYK | 2.94% | 68.63% | 0.00% |
20.00% |
HEX | C6 | 40 | CC |
Decimal | 198 | 64 | 204 |
Binary | 11000110 | 1000000 | 11001100 |
Octal | 306 | 100 | 314 |
Examples of css and html codes for elements with #C640CC color. Also use rgb(198,64,204) instead hex code.
.myTextColor { color: #C640CC; }
<p style="color:#C640CC">This sample text font color is #C640CC.</p>
This text font color is #C640CC.
.myBgColor { background-color: #C640CC; }
<div style="background-color:#C640CC">Inner text</div>
This div background color is #C640CC.
.myBorderColor { border: 1px solid #C640CC; }
<div style="border:3px solid #C640CC">Div</div>
This div border color is #C640CC.
.myOpacity80 { color: #C640CC; opacity: 0.8; }
<p style="color:#C640CC;opacity:0.8;">80%</p>
Text with #C640CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C640CC;}
<p style="text-shadow: 3px 3px 1px #C640CC">Text here.</p>
This text has shadow with #C640CC color.
.textShadow {text-shadow: 3px 3px 1px #C640CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C640CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #C640CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C640CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C640CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #C640CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C640CC; -webkit-box-shadow: 1px 1px 3px 2px #C640CC; box-shadow: 1px 1px 3px 2px #C640CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C640CC; -webkit-box-shadow: 1px 1px 3px 2px #C640CC; box-shadow:1px 1px 3px 2px #C640CC;">
Div content here</div>
This text has color #C640CC on black background.
This text has color #C640CC on white background.
This text has black color on #C640CC background.
This text has white color on #C640CC background.