HEX: #C7870E
RGB: (199,135,14)
#C7870E contains mainly red color. Web safe color of #C7870E is #CC9900 (or #C90).
#C7870E color RGB value is (199,135,14).
RGB: (199,135,14) (78%,53%,5%)
R 199 of 255 = 78%
G 135 of 255 = 53%
B 14 of 255 = 5%
R + G + B ~ 45%. #C7870E is middle color (not dark and not light).
R + G + B =
199 + 135 + 14 = 348 (100%)
R 199 of 348 ~ 57.18%
G 135 of 348 ~ 38.79%
B 14 of 348 ~ 4.02%
#C7870E color CMYK value is (0,32,93,22).
CMYK: (0,32,93,22) C0M32Y93K22 (0%,32%,93%,22%) (0.00/0.32/0.93/0.22)
C7 | 87 | 0E | |
---|---|---|---|
RGB | 199 | 135 | 14 |
HSL | 39° | 86.85% | 41.76% |
HSB/HSV | 39° | 92.96% | 78.04% |
CMYK | 0.00% | 32.16% | 92.96% |
21.96% |
HEX | C7 | 87 | 0E |
Decimal | 199 | 135 | 14 |
Binary | 11000111 | 10000111 | 1110 |
Octal | 307 | 207 | 16 |
Examples of css and html codes for elements with #C7870E color. Also use rgb(199,135,14) instead hex code.
.myTextColor { color: #C7870E; }
<p style="color:#C7870E">This sample text font color is #C7870E.</p>
This text font color is #C7870E.
.myBgColor { background-color: #C7870E; }
<div style="background-color:#C7870E">Inner text</div>
This div background color is #C7870E.
.myBorderColor { border: 1px solid #C7870E; }
<div style="border:3px solid #C7870E">Div</div>
This div border color is #C7870E.
.myOpacity80 { color: #C7870E; opacity: 0.8; }
<p style="color:#C7870E;opacity:0.8;">80%</p>
Text with #C7870E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7870E;}
<p style="text-shadow: 3px 3px 1px #C7870E">Text here.</p>
This text has shadow with #C7870E color.
.textShadow {text-shadow: 3px 3px 1px #C7870E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7870E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7870E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7870E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7870E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7870E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7870E; -webkit-box-shadow: 1px 1px 3px 2px #C7870E; box-shadow: 1px 1px 3px 2px #C7870E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7870E; -webkit-box-shadow: 1px 1px 3px 2px #C7870E; box-shadow:1px 1px 3px 2px #C7870E;">
Div content here</div>
This text has color #C7870E on black background.
This text has color #C7870E on white background.
This text has black color on #C7870E background.
This text has white color on #C7870E background.