HEX: #C712B1
RGB: (199,18,177)
#C712B1 contains mainly red and blue colors. Web safe color of #C712B1 is #CC0099 (or #C09).
#C712B1 color RGB value is (199,18,177).
RGB: (199,18,177) (78%,7%,69%)
R 199 of 255 = 78%
G 18 of 255 = 7%
B 177 of 255 = 69%
R + G + B ~ 51%. #C712B1 is middle color (not dark and not light).
R + G + B =
199 + 18 + 177 = 394 (100%)
R 199 of 394 ~ 50.51%
G 18 of 394 ~ 4.57%
B 177 of 394 ~ 44.92%
#C712B1 color CMYK value is (0,91,11,22).
CMYK: (0,91,11,22) C0M91Y11K22 (0%,91%,11%,22%) (0.00/0.91/0.11/0.22)
C7 | 12 | B1 | |
---|---|---|---|
RGB | 199 | 18 | 177 |
HSL | 307° | 83.41% | 42.55% |
HSB/HSV | 307° | 90.95% | 78.04% |
CMYK | 0.00% | 90.95% | 11.06% |
21.96% |
HEX | C7 | 12 | B1 |
Decimal | 199 | 18 | 177 |
Binary | 11000111 | 10010 | 10110001 |
Octal | 307 | 22 | 261 |
Examples of css and html codes for elements with #C712B1 color. Also use rgb(199,18,177) instead hex code.
.myTextColor { color: #C712B1; }
<p style="color:#C712B1">This sample text font color is #C712B1.</p>
This text font color is #C712B1.
.myBgColor { background-color: #C712B1; }
<div style="background-color:#C712B1">Inner text</div>
This div background color is #C712B1.
.myBorderColor { border: 1px solid #C712B1; }
<div style="border:3px solid #C712B1">Div</div>
This div border color is #C712B1.
.myOpacity80 { color: #C712B1; opacity: 0.8; }
<p style="color:#C712B1;opacity:0.8;">80%</p>
Text with #C712B1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C712B1;}
<p style="text-shadow: 3px 3px 1px #C712B1">Text here.</p>
This text has shadow with #C712B1 color.
.textShadow {text-shadow: 3px 3px 1px #C712B1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C712B1, 5px 5px 20px red">Text here.</p>
This text has shadow with #C712B1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C712B1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C712B1, Direction=45, Strength=4)">Text</p>
This text has shadow with #C712B1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C712B1; -webkit-box-shadow: 1px 1px 3px 2px #C712B1; box-shadow: 1px 1px 3px 2px #C712B1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C712B1; -webkit-box-shadow: 1px 1px 3px 2px #C712B1; box-shadow:1px 1px 3px 2px #C712B1;">
Div content here</div>
This text has color #C712B1 on black background.
This text has color #C712B1 on white background.
This text has black color on #C712B1 background.
This text has white color on #C712B1 background.