HEX: #7D4A18
RGB: (125,74,24)
#7D4A18 contains mainly red and green colors. Web safe color of #7D4A18 is #663300 (or #630).
#7D4A18 color RGB value is (125,74,24).
RGB: (125,74,24) (49%,29%,9%)
R 125 of 255 = 49%
G 74 of 255 = 29%
B 24 of 255 = 9%
R + G + B ~ 29%. #7D4A18 is quite dark color.
R + G + B =
125 + 74 + 24 = 223 (100%)
R 125 of 223 ~ 56.05%
G 74 of 223 ~ 33.18%
B 24 of 223 ~ 10.76%
#7D4A18 color CMYK value is (0,41,81,51).
CMYK: (0,41,81,51) C0M41Y81K51 (0%,41%,81%,51%) (0.00/0.41/0.81/0.51)
7D | 4A | 18 | |
---|---|---|---|
RGB | 125 | 74 | 24 |
HSL | 30° | 67.79% | 29.22% |
HSB/HSV | 30° | 80.80% | 49.02% |
CMYK | 0.00% | 40.80% | 80.80% |
50.98% |
HEX | 7D | 4A | 18 |
Decimal | 125 | 74 | 24 |
Binary | 1111101 | 1001010 | 11000 |
Octal | 175 | 112 | 30 |
Examples of css and html codes for elements with #7D4A18 color. Also use rgb(125,74,24) instead hex code.
.myTextColor { color: #7D4A18; }
<p style="color:#7D4A18">This sample text font color is #7D4A18.</p>
This text font color is #7D4A18.
.myBgColor { background-color: #7D4A18; }
<div style="background-color:#7D4A18">Inner text</div>
This div background color is #7D4A18.
.myBorderColor { border: 1px solid #7D4A18; }
<div style="border:3px solid #7D4A18">Div</div>
This div border color is #7D4A18.
.myOpacity80 { color: #7D4A18; opacity: 0.8; }
<p style="color:#7D4A18;opacity:0.8;">80%</p>
Text with #7D4A18 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D4A18;}
<p style="text-shadow: 3px 3px 1px #7D4A18">Text here.</p>
This text has shadow with #7D4A18 color.
.textShadow {text-shadow: 3px 3px 1px #7D4A18, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D4A18, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D4A18 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D4A18, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D4A18, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D4A18 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D4A18; -webkit-box-shadow: 1px 1px 3px 2px #7D4A18; box-shadow: 1px 1px 3px 2px #7D4A18; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D4A18; -webkit-box-shadow: 1px 1px 3px 2px #7D4A18; box-shadow:1px 1px 3px 2px #7D4A18;">
Div content here</div>
This text has color #7D4A18 on black background.
This text has color #7D4A18 on white background.
This text has black color on #7D4A18 background.
This text has white color on #7D4A18 background.