HEX: #7D5812
RGB: (125,88,18)
#7D5812 contains mainly red and green colors. Web safe color of #7D5812 is #666600 (or #660).
#7D5812 color RGB value is (125,88,18).
RGB: (125,88,18) (49%,35%,7%)
R 125 of 255 = 49%
G 88 of 255 = 35%
B 18 of 255 = 7%
R + G + B ~ 30%. #7D5812 is quite dark color.
R + G + B =
125 + 88 + 18 = 231 (100%)
R 125 of 231 ~ 54.11%
G 88 of 231 ~ 38.1%
B 18 of 231 ~ 7.79%
#7D5812 color CMYK value is (0,30,86,51).
CMYK: (0,30,86,51) C0M30Y86K51 (0%,30%,86%,51%) (0.00/0.30/0.86/0.51)
7D | 58 | 12 | |
---|---|---|---|
RGB | 125 | 88 | 18 |
HSL | 39° | 74.83% | 28.04% |
HSB/HSV | 39° | 85.60% | 49.02% |
CMYK | 0.00% | 29.60% | 85.60% |
50.98% |
HEX | 7D | 58 | 12 |
Decimal | 125 | 88 | 18 |
Binary | 1111101 | 1011000 | 10010 |
Octal | 175 | 130 | 22 |
Examples of css and html codes for elements with #7D5812 color. Also use rgb(125,88,18) instead hex code.
.myTextColor { color: #7D5812; }
<p style="color:#7D5812">This sample text font color is #7D5812.</p>
This text font color is #7D5812.
.myBgColor { background-color: #7D5812; }
<div style="background-color:#7D5812">Inner text</div>
This div background color is #7D5812.
.myBorderColor { border: 1px solid #7D5812; }
<div style="border:3px solid #7D5812">Div</div>
This div border color is #7D5812.
.myOpacity80 { color: #7D5812; opacity: 0.8; }
<p style="color:#7D5812;opacity:0.8;">80%</p>
Text with #7D5812 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D5812;}
<p style="text-shadow: 3px 3px 1px #7D5812">Text here.</p>
This text has shadow with #7D5812 color.
.textShadow {text-shadow: 3px 3px 1px #7D5812, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D5812, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D5812 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D5812, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D5812, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D5812 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D5812; -webkit-box-shadow: 1px 1px 3px 2px #7D5812; box-shadow: 1px 1px 3px 2px #7D5812; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D5812; -webkit-box-shadow: 1px 1px 3px 2px #7D5812; box-shadow:1px 1px 3px 2px #7D5812;">
Div content here</div>
This text has color #7D5812 on black background.
This text has color #7D5812 on white background.
This text has black color on #7D5812 background.
This text has white color on #7D5812 background.