HEX: #C6219C
RGB: (198,33,156)
#C6219C contains mainly red and blue colors. Web safe color of #C6219C is #CC3399 (or #C39).
#C6219C color RGB value is (198,33,156).
RGB: (198,33,156) (78%,13%,61%)
R 198 of 255 = 78%
G 33 of 255 = 13%
B 156 of 255 = 61%
R + G + B ~ 51%. #C6219C is middle color (not dark and not light).
R + G + B =
198 + 33 + 156 = 387 (100%)
R 198 of 387 ~ 51.16%
G 33 of 387 ~ 8.53%
B 156 of 387 ~ 40.31%
#C6219C color CMYK value is (0,83,21,22).
CMYK: (0,83,21,22) C0M83Y21K22 (0%,83%,21%,22%) (0.00/0.83/0.21/0.22)
C6 | 21 | 9C | |
---|---|---|---|
RGB | 198 | 33 | 156 |
HSL | 315° | 71.43% | 45.29% |
HSB/HSV | 315° | 83.33% | 77.65% |
CMYK | 0.00% | 83.33% | 21.21% |
22.35% |
HEX | C6 | 21 | 9C |
Decimal | 198 | 33 | 156 |
Binary | 11000110 | 100001 | 10011100 |
Octal | 306 | 41 | 234 |
Examples of css and html codes for elements with #C6219C color. Also use rgb(198,33,156) instead hex code.
.myTextColor { color: #C6219C; }
<p style="color:#C6219C">This sample text font color is #C6219C.</p>
This text font color is #C6219C.
.myBgColor { background-color: #C6219C; }
<div style="background-color:#C6219C">Inner text</div>
This div background color is #C6219C.
.myBorderColor { border: 1px solid #C6219C; }
<div style="border:3px solid #C6219C">Div</div>
This div border color is #C6219C.
.myOpacity80 { color: #C6219C; opacity: 0.8; }
<p style="color:#C6219C;opacity:0.8;">80%</p>
Text with #C6219C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6219C;}
<p style="text-shadow: 3px 3px 1px #C6219C">Text here.</p>
This text has shadow with #C6219C color.
.textShadow {text-shadow: 3px 3px 1px #C6219C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6219C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6219C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6219C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6219C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6219C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6219C; -webkit-box-shadow: 1px 1px 3px 2px #C6219C; box-shadow: 1px 1px 3px 2px #C6219C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6219C; -webkit-box-shadow: 1px 1px 3px 2px #C6219C; box-shadow:1px 1px 3px 2px #C6219C;">
Div content here</div>
This text has color #C6219C on black background.
This text has color #C6219C on white background.
This text has black color on #C6219C background.
This text has white color on #C6219C background.