HEX: #C4871F
RGB: (196,135,31)
#C4871F contains mainly red color. Web safe color of #C4871F is #CC9933 (or #C93).
#C4871F color RGB value is (196,135,31).
RGB: (196,135,31) (77%,53%,12%)
R 196 of 255 = 77%
G 135 of 255 = 53%
B 31 of 255 = 12%
R + G + B ~ 47%. #C4871F is middle color (not dark and not light).
R + G + B =
196 + 135 + 31 = 362 (100%)
R 196 of 362 ~ 54.14%
G 135 of 362 ~ 37.29%
B 31 of 362 ~ 8.56%
#C4871F color CMYK value is (0,31,84,23).
CMYK: (0,31,84,23) C0M31Y84K23 (0%,31%,84%,23%) (0.00/0.31/0.84/0.23)
C4 | 87 | 1F | |
---|---|---|---|
RGB | 196 | 135 | 31 |
HSL | 38° | 72.69% | 44.51% |
HSB/HSV | 38° | 84.18% | 76.86% |
CMYK | 0.00% | 31.12% | 84.18% |
23.14% |
HEX | C4 | 87 | 1F |
Decimal | 196 | 135 | 31 |
Binary | 11000100 | 10000111 | 11111 |
Octal | 304 | 207 | 37 |
Examples of css and html codes for elements with #C4871F color. Also use rgb(196,135,31) instead hex code.
.myTextColor { color: #C4871F; }
<p style="color:#C4871F">This sample text font color is #C4871F.</p>
This text font color is #C4871F.
.myBgColor { background-color: #C4871F; }
<div style="background-color:#C4871F">Inner text</div>
This div background color is #C4871F.
.myBorderColor { border: 1px solid #C4871F; }
<div style="border:3px solid #C4871F">Div</div>
This div border color is #C4871F.
.myOpacity80 { color: #C4871F; opacity: 0.8; }
<p style="color:#C4871F;opacity:0.8;">80%</p>
Text with #C4871F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4871F;}
<p style="text-shadow: 3px 3px 1px #C4871F">Text here.</p>
This text has shadow with #C4871F color.
.textShadow {text-shadow: 3px 3px 1px #C4871F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4871F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4871F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4871F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4871F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4871F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4871F; -webkit-box-shadow: 1px 1px 3px 2px #C4871F; box-shadow: 1px 1px 3px 2px #C4871F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4871F; -webkit-box-shadow: 1px 1px 3px 2px #C4871F; box-shadow:1px 1px 3px 2px #C4871F;">
Div content here</div>
This text has color #C4871F on black background.
This text has color #C4871F on white background.
This text has black color on #C4871F background.
This text has white color on #C4871F background.