HEX: #C7242C
RGB: (199,36,44)
#C7242C contains mainly red color. Web safe color of #C7242C is #CC3333 (or #C33).
#C7242C color RGB value is (199,36,44).
RGB: (199,36,44) (78%,14%,17%)
R 199 of 255 = 78%
G 36 of 255 = 14%
B 44 of 255 = 17%
R + G + B ~ 36%. #C7242C is quite dark color.
R + G + B =
199 + 36 + 44 = 279 (100%)
R 199 of 279 ~ 71.33%
G 36 of 279 ~ 12.9%
B 44 of 279 ~ 15.77%
#C7242C color CMYK value is (0,82,78,22).
CMYK: (0,82,78,22) C0M82Y78K22 (0%,82%,78%,22%) (0.00/0.82/0.78/0.22)
C7 | 24 | 2C | |
---|---|---|---|
RGB | 199 | 36 | 44 |
HSL | 357° | 69.36% | 46.08% |
HSB/HSV | 357° | 81.91% | 78.04% |
CMYK | 0.00% | 81.91% | 77.89% |
21.96% |
HEX | C7 | 24 | 2C |
Decimal | 199 | 36 | 44 |
Binary | 11000111 | 100100 | 101100 |
Octal | 307 | 44 | 54 |
Examples of css and html codes for elements with #C7242C color. Also use rgb(199,36,44) instead hex code.
.myTextColor { color: #C7242C; }
<p style="color:#C7242C">This sample text font color is #C7242C.</p>
This text font color is #C7242C.
.myBgColor { background-color: #C7242C; }
<div style="background-color:#C7242C">Inner text</div>
This div background color is #C7242C.
.myBorderColor { border: 1px solid #C7242C; }
<div style="border:3px solid #C7242C">Div</div>
This div border color is #C7242C.
.myOpacity80 { color: #C7242C; opacity: 0.8; }
<p style="color:#C7242C;opacity:0.8;">80%</p>
Text with #C7242C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7242C;}
<p style="text-shadow: 3px 3px 1px #C7242C">Text here.</p>
This text has shadow with #C7242C color.
.textShadow {text-shadow: 3px 3px 1px #C7242C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7242C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7242C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7242C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7242C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7242C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7242C; -webkit-box-shadow: 1px 1px 3px 2px #C7242C; box-shadow: 1px 1px 3px 2px #C7242C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7242C; -webkit-box-shadow: 1px 1px 3px 2px #C7242C; box-shadow:1px 1px 3px 2px #C7242C;">
Div content here</div>
This text has color #C7242C on black background.
This text has color #C7242C on white background.
This text has black color on #C7242C background.
This text has white color on #C7242C background.