HEX: #C727A0
RGB: (199,39,160)
#C727A0 contains mainly red and blue colors. Web safe color of #C727A0 is #CC3399 (or #C39).
#C727A0 color RGB value is (199,39,160).
RGB: (199,39,160) (78%,15%,63%)
R 199 of 255 = 78%
G 39 of 255 = 15%
B 160 of 255 = 63%
R + G + B ~ 52%. #C727A0 is middle color (not dark and not light).
R + G + B =
199 + 39 + 160 = 398 (100%)
R 199 of 398 ~ 50%
G 39 of 398 ~ 9.8%
B 160 of 398 ~ 40.2%
#C727A0 color CMYK value is (0,80,20,22).
CMYK: (0,80,20,22) C0M80Y20K22 (0%,80%,20%,22%) (0.00/0.80/0.20/0.22)
C7 | 27 | A0 | |
---|---|---|---|
RGB | 199 | 39 | 160 |
HSL | 315° | 67.23% | 46.67% |
HSB/HSV | 315° | 80.40% | 78.04% |
CMYK | 0.00% | 80.40% | 19.60% |
21.96% |
HEX | C7 | 27 | A0 |
Decimal | 199 | 39 | 160 |
Binary | 11000111 | 100111 | 10100000 |
Octal | 307 | 47 | 240 |
Examples of css and html codes for elements with #C727A0 color. Also use rgb(199,39,160) instead hex code.
.myTextColor { color: #C727A0; }
<p style="color:#C727A0">This sample text font color is #C727A0.</p>
This text font color is #C727A0.
.myBgColor { background-color: #C727A0; }
<div style="background-color:#C727A0">Inner text</div>
This div background color is #C727A0.
.myBorderColor { border: 1px solid #C727A0; }
<div style="border:3px solid #C727A0">Div</div>
This div border color is #C727A0.
.myOpacity80 { color: #C727A0; opacity: 0.8; }
<p style="color:#C727A0;opacity:0.8;">80%</p>
Text with #C727A0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C727A0;}
<p style="text-shadow: 3px 3px 1px #C727A0">Text here.</p>
This text has shadow with #C727A0 color.
.textShadow {text-shadow: 3px 3px 1px #C727A0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C727A0, 5px 5px 20px red">Text here.</p>
This text has shadow with #C727A0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C727A0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C727A0, Direction=45, Strength=4)">Text</p>
This text has shadow with #C727A0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C727A0; -webkit-box-shadow: 1px 1px 3px 2px #C727A0; box-shadow: 1px 1px 3px 2px #C727A0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C727A0; -webkit-box-shadow: 1px 1px 3px 2px #C727A0; box-shadow:1px 1px 3px 2px #C727A0;">
Div content here</div>
This text has color #C727A0 on black background.
This text has color #C727A0 on white background.
This text has black color on #C727A0 background.
This text has white color on #C727A0 background.