HEX: #C78242
RGB: (199,130,66)
#C78242 contains mainly red color. Web safe color of #C78242 is #CC9933 (or #C93).
#C78242 color RGB value is (199,130,66).
RGB: (199,130,66) (78%,51%,26%)
R 199 of 255 = 78%
G 130 of 255 = 51%
B 66 of 255 = 26%
R + G + B ~ 52%. #C78242 is middle color (not dark and not light).
R + G + B =
199 + 130 + 66 = 395 (100%)
R 199 of 395 ~ 50.38%
G 130 of 395 ~ 32.91%
B 66 of 395 ~ 16.71%
#C78242 color CMYK value is (0,35,67,22).
CMYK: (0,35,67,22) C0M35Y67K22 (0%,35%,67%,22%) (0.00/0.35/0.67/0.22)
C7 | 82 | 42 | |
---|---|---|---|
RGB | 199 | 130 | 66 |
HSL | 29° | 54.29% | 51.96% |
HSB/HSV | 29° | 66.83% | 78.04% |
CMYK | 0.00% | 34.67% | 66.83% |
21.96% |
HEX | C7 | 82 | 42 |
Decimal | 199 | 130 | 66 |
Binary | 11000111 | 10000010 | 1000010 |
Octal | 307 | 202 | 102 |
Examples of css and html codes for elements with #C78242 color. Also use rgb(199,130,66) instead hex code.
.myTextColor { color: #C78242; }
<p style="color:#C78242">This sample text font color is #C78242.</p>
This text font color is #C78242.
.myBgColor { background-color: #C78242; }
<div style="background-color:#C78242">Inner text</div>
This div background color is #C78242.
.myBorderColor { border: 1px solid #C78242; }
<div style="border:3px solid #C78242">Div</div>
This div border color is #C78242.
.myOpacity80 { color: #C78242; opacity: 0.8; }
<p style="color:#C78242;opacity:0.8;">80%</p>
Text with #C78242 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C78242;}
<p style="text-shadow: 3px 3px 1px #C78242">Text here.</p>
This text has shadow with #C78242 color.
.textShadow {text-shadow: 3px 3px 1px #C78242, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C78242, 5px 5px 20px red">Text here.</p>
This text has shadow with #C78242 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C78242, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C78242, Direction=45, Strength=4)">Text</p>
This text has shadow with #C78242 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C78242; -webkit-box-shadow: 1px 1px 3px 2px #C78242; box-shadow: 1px 1px 3px 2px #C78242; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C78242; -webkit-box-shadow: 1px 1px 3px 2px #C78242; box-shadow:1px 1px 3px 2px #C78242;">
Div content here</div>
This text has color #C78242 on black background.
This text has color #C78242 on white background.
This text has black color on #C78242 background.
This text has white color on #C78242 background.