HEX: #C74C7E
RGB: (199,76,126)
#C74C7E contains mainly red color. Web safe color of #C74C7E is #CC3366 (or #C36).
#C74C7E color RGB value is (199,76,126).
RGB: (199,76,126) (78%,30%,49%)
R 199 of 255 = 78%
G 76 of 255 = 30%
B 126 of 255 = 49%
R + G + B ~ 52%. #C74C7E is middle color (not dark and not light).
R + G + B =
199 + 76 + 126 = 401 (100%)
R 199 of 401 ~ 49.63%
G 76 of 401 ~ 18.95%
B 126 of 401 ~ 31.42%
#C74C7E color CMYK value is (0,62,37,22).
CMYK: (0,62,37,22) C0M62Y37K22 (0%,62%,37%,22%) (0.00/0.62/0.37/0.22)
C7 | 4C | 7E | |
---|---|---|---|
RGB | 199 | 76 | 126 |
HSL | 336° | 52.34% | 53.92% |
HSB/HSV | 336° | 61.81% | 78.04% |
CMYK | 0.00% | 61.81% | 36.68% |
21.96% |
HEX | C7 | 4C | 7E |
Decimal | 199 | 76 | 126 |
Binary | 11000111 | 1001100 | 1111110 |
Octal | 307 | 114 | 176 |
Examples of css and html codes for elements with #C74C7E color. Also use rgb(199,76,126) instead hex code.
.myTextColor { color: #C74C7E; }
<p style="color:#C74C7E">This sample text font color is #C74C7E.</p>
This text font color is #C74C7E.
.myBgColor { background-color: #C74C7E; }
<div style="background-color:#C74C7E">Inner text</div>
This div background color is #C74C7E.
.myBorderColor { border: 1px solid #C74C7E; }
<div style="border:3px solid #C74C7E">Div</div>
This div border color is #C74C7E.
.myOpacity80 { color: #C74C7E; opacity: 0.8; }
<p style="color:#C74C7E;opacity:0.8;">80%</p>
Text with #C74C7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C74C7E;}
<p style="text-shadow: 3px 3px 1px #C74C7E">Text here.</p>
This text has shadow with #C74C7E color.
.textShadow {text-shadow: 3px 3px 1px #C74C7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C74C7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C74C7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C74C7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C74C7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C74C7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C74C7E; -webkit-box-shadow: 1px 1px 3px 2px #C74C7E; box-shadow: 1px 1px 3px 2px #C74C7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C74C7E; -webkit-box-shadow: 1px 1px 3px 2px #C74C7E; box-shadow:1px 1px 3px 2px #C74C7E;">
Div content here</div>
This text has color #C74C7E on black background.
This text has color #C74C7E on white background.
This text has black color on #C74C7E background.
This text has white color on #C74C7E background.