HEX: #7A5828
RGB: (122,88,40)
#7A5828 contains mainly red and green colors. Web safe color of #7A5828 is #666633 (or #663).
#7A5828 color RGB value is (122,88,40).
RGB: (122,88,40) (48%,35%,16%)
R 122 of 255 = 48%
G 88 of 255 = 35%
B 40 of 255 = 16%
R + G + B ~ 33%. #7A5828 is quite dark color.
R + G + B =
122 + 88 + 40 = 250 (100%)
R 122 of 250 ~ 48.8%
G 88 of 250 ~ 35.2%
B 40 of 250 ~ 16%
#7A5828 color CMYK value is (0,28,67,52).
CMYK: (0,28,67,52) C0M28Y67K52 (0%,28%,67%,52%) (0.00/0.28/0.67/0.52)
7A | 58 | 28 | |
---|---|---|---|
RGB | 122 | 88 | 40 |
HSL | 35° | 50.62% | 31.76% |
HSB/HSV | 35° | 67.21% | 47.84% |
CMYK | 0.00% | 27.87% | 67.21% |
52.16% |
HEX | 7A | 58 | 28 |
Decimal | 122 | 88 | 40 |
Binary | 1111010 | 1011000 | 101000 |
Octal | 172 | 130 | 50 |
Examples of css and html codes for elements with #7A5828 color. Also use rgb(122,88,40) instead hex code.
.myTextColor { color: #7A5828; }
<p style="color:#7A5828">This sample text font color is #7A5828.</p>
This text font color is #7A5828.
.myBgColor { background-color: #7A5828; }
<div style="background-color:#7A5828">Inner text</div>
This div background color is #7A5828.
.myBorderColor { border: 1px solid #7A5828; }
<div style="border:3px solid #7A5828">Div</div>
This div border color is #7A5828.
.myOpacity80 { color: #7A5828; opacity: 0.8; }
<p style="color:#7A5828;opacity:0.8;">80%</p>
Text with #7A5828 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7A5828;}
<p style="text-shadow: 3px 3px 1px #7A5828">Text here.</p>
This text has shadow with #7A5828 color.
.textShadow {text-shadow: 3px 3px 1px #7A5828, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7A5828, 5px 5px 20px red">Text here.</p>
This text has shadow with #7A5828 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7A5828, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7A5828, Direction=45, Strength=4)">Text</p>
This text has shadow with #7A5828 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7A5828; -webkit-box-shadow: 1px 1px 3px 2px #7A5828; box-shadow: 1px 1px 3px 2px #7A5828; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7A5828; -webkit-box-shadow: 1px 1px 3px 2px #7A5828; box-shadow:1px 1px 3px 2px #7A5828;">
Div content here</div>
This text has color #7A5828 on black background.
This text has color #7A5828 on white background.
This text has black color on #7A5828 background.
This text has white color on #7A5828 background.