HEX: #C7310E
RGB: (199,49,14)
#C7310E contains mainly red color. Web safe color of #C7310E is #CC3300 (or #C30).
#C7310E color RGB value is (199,49,14).
RGB: (199,49,14) (78%,19%,5%)
R 199 of 255 = 78%
G 49 of 255 = 19%
B 14 of 255 = 5%
R + G + B ~ 34%. #C7310E is quite dark color.
R + G + B =
199 + 49 + 14 = 262 (100%)
R 199 of 262 ~ 75.95%
G 49 of 262 ~ 18.7%
B 14 of 262 ~ 5.34%
#C7310E color CMYK value is (0,75,93,22).
CMYK: (0,75,93,22) C0M75Y93K22 (0%,75%,93%,22%) (0.00/0.75/0.93/0.22)
C7 | 31 | 0E | |
---|---|---|---|
RGB | 199 | 49 | 14 |
HSL | 11° | 86.85% | 41.76% |
HSB/HSV | 11° | 92.96% | 78.04% |
CMYK | 0.00% | 75.38% | 92.96% |
21.96% |
HEX | C7 | 31 | 0E |
Decimal | 199 | 49 | 14 |
Binary | 11000111 | 110001 | 1110 |
Octal | 307 | 61 | 16 |
Examples of css and html codes for elements with #C7310E color. Also use rgb(199,49,14) instead hex code.
.myTextColor { color: #C7310E; }
<p style="color:#C7310E">This sample text font color is #C7310E.</p>
This text font color is #C7310E.
.myBgColor { background-color: #C7310E; }
<div style="background-color:#C7310E">Inner text</div>
This div background color is #C7310E.
.myBorderColor { border: 1px solid #C7310E; }
<div style="border:3px solid #C7310E">Div</div>
This div border color is #C7310E.
.myOpacity80 { color: #C7310E; opacity: 0.8; }
<p style="color:#C7310E;opacity:0.8;">80%</p>
Text with #C7310E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7310E;}
<p style="text-shadow: 3px 3px 1px #C7310E">Text here.</p>
This text has shadow with #C7310E color.
.textShadow {text-shadow: 3px 3px 1px #C7310E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7310E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7310E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7310E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7310E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7310E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7310E; -webkit-box-shadow: 1px 1px 3px 2px #C7310E; box-shadow: 1px 1px 3px 2px #C7310E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7310E; -webkit-box-shadow: 1px 1px 3px 2px #C7310E; box-shadow:1px 1px 3px 2px #C7310E;">
Div content here</div>
This text has color #C7310E on black background.
This text has color #C7310E on white background.
This text has black color on #C7310E background.
This text has white color on #C7310E background.