HEX: #C71585
RGB: (199,21,133)
Color name is MediumVioletRed. #C71585 contains mainly red color. Web safe color of #C71585 is #CC0099 (or #C09).
#C71585 color RGB value is (199,21,133).
RGB: (199,21,133) (78%,8%,52%)
R 199 of 255 = 78%
G 21 of 255 = 8%
B 133 of 255 = 52%
R + G + B ~ 46%. #C71585 is middle color (not dark and not light).
R + G + B =
199 + 21 + 133 = 353 (100%)
R 199 of 353 ~ 56.37%
G 21 of 353 ~ 5.95%
B 133 of 353 ~ 37.68%
#C71585 color CMYK value is (0,89,33,22).
CMYK: (0,89,33,22) C0M89Y33K22 (0%,89%,33%,22%) (0.00/0.89/0.33/0.22)
C7 | 15 | 85 | |
---|---|---|---|
RGB | 199 | 21 | 133 |
HSL | 322° | 80.91% | 43.14% |
HSB/HSV | 322° | 89.45% | 78.04% |
CMYK | 0.00% | 89.45% | 33.17% |
21.96% |
HEX | C7 | 15 | 85 |
Decimal | 199 | 21 | 133 |
Binary | 11000111 | 10101 | 10000101 |
Octal | 307 | 25 | 205 |
Examples of css and html codes for elements with #C71585 color. Also use rgb(199,21,133) instead hex code.
.myTextColor { color: #C71585; }
<p style="color:#C71585">This sample text font color is #C71585.</p>
This text font color is #C71585.
.myBgColor { background-color: #C71585; }
<div style="background-color:#C71585">Inner text</div>
This div background color is #C71585.
.myBorderColor { border: 1px solid #C71585; }
<div style="border:3px solid #C71585">Div</div>
This div border color is #C71585.
.myOpacity80 { color: #C71585; opacity: 0.8; }
<p style="color:#C71585;opacity:0.8;">80%</p>
Text with #C71585 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C71585;}
<p style="text-shadow: 3px 3px 1px #C71585">Text here.</p>
This text has shadow with #C71585 color.
.textShadow {text-shadow: 3px 3px 1px #C71585, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C71585, 5px 5px 20px red">Text here.</p>
This text has shadow with #C71585 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C71585, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C71585, Direction=45, Strength=4)">Text</p>
This text has shadow with #C71585 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C71585; -webkit-box-shadow: 1px 1px 3px 2px #C71585; box-shadow: 1px 1px 3px 2px #C71585; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C71585; -webkit-box-shadow: 1px 1px 3px 2px #C71585; box-shadow:1px 1px 3px 2px #C71585;">
Div content here</div>
This text has color #C71585 on black background.
This text has color #C71585 on white background.
This text has black color on #C71585 background.
This text has white color on #C71585 background.