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