HEX: #C5870C
RGB: (197,135,12)
#C5870C contains mainly red color. Web safe color of #C5870C is #CC9900 (or #C90).
#C5870C color RGB value is (197,135,12).
RGB: (197,135,12) (77%,53%,5%)
R 197 of 255 = 77%
G 135 of 255 = 53%
B 12 of 255 = 5%
R + G + B ~ 45%. #C5870C is middle color (not dark and not light).
R + G + B =
197 + 135 + 12 = 344 (100%)
R 197 of 344 ~ 57.27%
G 135 of 344 ~ 39.24%
B 12 of 344 ~ 3.49%
#C5870C color CMYK value is (0,31,94,23).
CMYK: (0,31,94,23) C0M31Y94K23 (0%,31%,94%,23%) (0.00/0.31/0.94/0.23)
C5 | 87 | 0C | |
---|---|---|---|
RGB | 197 | 135 | 12 |
HSL | 40° | 88.52% | 40.98% |
HSB/HSV | 40° | 93.91% | 77.25% |
CMYK | 0.00% | 31.47% | 93.91% |
22.75% |
HEX | C5 | 87 | 0C |
Decimal | 197 | 135 | 12 |
Binary | 11000101 | 10000111 | 1100 |
Octal | 305 | 207 | 14 |
Examples of css and html codes for elements with #C5870C color. Also use rgb(197,135,12) instead hex code.
.myTextColor { color: #C5870C; }
<p style="color:#C5870C">This sample text font color is #C5870C.</p>
This text font color is #C5870C.
.myBgColor { background-color: #C5870C; }
<div style="background-color:#C5870C">Inner text</div>
This div background color is #C5870C.
.myBorderColor { border: 1px solid #C5870C; }
<div style="border:3px solid #C5870C">Div</div>
This div border color is #C5870C.
.myOpacity80 { color: #C5870C; opacity: 0.8; }
<p style="color:#C5870C;opacity:0.8;">80%</p>
Text with #C5870C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5870C;}
<p style="text-shadow: 3px 3px 1px #C5870C">Text here.</p>
This text has shadow with #C5870C color.
.textShadow {text-shadow: 3px 3px 1px #C5870C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5870C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5870C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5870C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5870C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5870C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5870C; -webkit-box-shadow: 1px 1px 3px 2px #C5870C; box-shadow: 1px 1px 3px 2px #C5870C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5870C; -webkit-box-shadow: 1px 1px 3px 2px #C5870C; box-shadow:1px 1px 3px 2px #C5870C;">
Div content here</div>
This text has color #C5870C on black background.
This text has color #C5870C on white background.
This text has black color on #C5870C background.
This text has white color on #C5870C background.