HEX: #784828
RGB: (120,72,40)
#784828 contains mainly red and green colors. Web safe color of #784828 is #663333 (or #633).
#784828 color RGB value is (120,72,40).
RGB: (120,72,40) (47%,28%,16%)
R 120 of 255 = 47%
G 72 of 255 = 28%
B 40 of 255 = 16%
R + G + B ~ 30%. #784828 is quite dark color.
R + G + B =
120 + 72 + 40 = 232 (100%)
R 120 of 232 ~ 51.72%
G 72 of 232 ~ 31.03%
B 40 of 232 ~ 17.24%
#784828 color CMYK value is (0,40,67,53).
CMYK: (0,40,67,53) C0M40Y67K53 (0%,40%,67%,53%) (0.00/0.40/0.67/0.53)
78 | 48 | 28 | |
---|---|---|---|
RGB | 120 | 72 | 40 |
HSL | 24° | 50.00% | 31.37% |
HSB/HSV | 24° | 66.67% | 47.06% |
CMYK | 0.00% | 40.00% | 66.67% |
52.94% |
HEX | 78 | 48 | 28 |
Decimal | 120 | 72 | 40 |
Binary | 1111000 | 1001000 | 101000 |
Octal | 170 | 110 | 50 |
Examples of css and html codes for elements with #784828 color. Also use rgb(120,72,40) instead hex code.
.myTextColor { color: #784828; }
<p style="color:#784828">This sample text font color is #784828.</p>
This text font color is #784828.
.myBgColor { background-color: #784828; }
<div style="background-color:#784828">Inner text</div>
This div background color is #784828.
.myBorderColor { border: 1px solid #784828; }
<div style="border:3px solid #784828">Div</div>
This div border color is #784828.
.myOpacity80 { color: #784828; opacity: 0.8; }
<p style="color:#784828;opacity:0.8;">80%</p>
Text with #784828 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #784828;}
<p style="text-shadow: 3px 3px 1px #784828">Text here.</p>
This text has shadow with #784828 color.
.textShadow {text-shadow: 3px 3px 1px #784828, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #784828, 5px 5px 20px red">Text here.</p>
This text has shadow with #784828 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#784828, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#784828, Direction=45, Strength=4)">Text</p>
This text has shadow with #784828 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #784828; -webkit-box-shadow: 1px 1px 3px 2px #784828; box-shadow: 1px 1px 3px 2px #784828; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #784828; -webkit-box-shadow: 1px 1px 3px 2px #784828; box-shadow:1px 1px 3px 2px #784828;">
Div content here</div>
This text has color #784828 on black background.
This text has color #784828 on white background.
This text has black color on #784828 background.
This text has white color on #784828 background.