HEX: #7C520C
RGB: (124,82,12)
#7C520C contains mainly red and green colors. Web safe color of #7C520C is #666600 (or #660).
#7C520C color RGB value is (124,82,12).
RGB: (124,82,12) (49%,32%,5%)
R 124 of 255 = 49%
G 82 of 255 = 32%
B 12 of 255 = 5%
R + G + B ~ 29%. #7C520C is quite dark color.
R + G + B =
124 + 82 + 12 = 218 (100%)
R 124 of 218 ~ 56.88%
G 82 of 218 ~ 37.61%
B 12 of 218 ~ 5.5%
#7C520C color CMYK value is (0,34,90,51).
CMYK: (0,34,90,51) C0M34Y90K51 (0%,34%,90%,51%) (0.00/0.34/0.90/0.51)
7C | 52 | 0C | |
---|---|---|---|
RGB | 124 | 82 | 12 |
HSL | 38° | 82.35% | 26.67% |
HSB/HSV | 38° | 90.32% | 48.63% |
CMYK | 0.00% | 33.87% | 90.32% |
51.37% |
HEX | 7C | 52 | 0C |
Decimal | 124 | 82 | 12 |
Binary | 1111100 | 1010010 | 1100 |
Octal | 174 | 122 | 14 |
Examples of css and html codes for elements with #7C520C color. Also use rgb(124,82,12) instead hex code.
.myTextColor { color: #7C520C; }
<p style="color:#7C520C">This sample text font color is #7C520C.</p>
This text font color is #7C520C.
.myBgColor { background-color: #7C520C; }
<div style="background-color:#7C520C">Inner text</div>
This div background color is #7C520C.
.myBorderColor { border: 1px solid #7C520C; }
<div style="border:3px solid #7C520C">Div</div>
This div border color is #7C520C.
.myOpacity80 { color: #7C520C; opacity: 0.8; }
<p style="color:#7C520C;opacity:0.8;">80%</p>
Text with #7C520C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C520C;}
<p style="text-shadow: 3px 3px 1px #7C520C">Text here.</p>
This text has shadow with #7C520C color.
.textShadow {text-shadow: 3px 3px 1px #7C520C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C520C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C520C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C520C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C520C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C520C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C520C; -webkit-box-shadow: 1px 1px 3px 2px #7C520C; box-shadow: 1px 1px 3px 2px #7C520C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C520C; -webkit-box-shadow: 1px 1px 3px 2px #7C520C; box-shadow:1px 1px 3px 2px #7C520C;">
Div content here</div>
This text has color #7C520C on black background.
This text has color #7C520C on white background.
This text has black color on #7C520C background.
This text has white color on #7C520C background.