HEX: #7D6D02
RGB: (125,109,2)
#7D6D02 contains mainly red and green colors. Web safe color of #7D6D02 is #666600 (or #660).
#7D6D02 color RGB value is (125,109,2).
RGB: (125,109,2) (49%,43%,1%)
R 125 of 255 = 49%
G 109 of 255 = 43%
B 2 of 255 = 1%
R + G + B ~ 31%. #7D6D02 is quite dark color.
R + G + B =
125 + 109 + 2 = 236 (100%)
R 125 of 236 ~ 52.97%
G 109 of 236 ~ 46.19%
B 2 of 236 ~ 0.85%
#7D6D02 color CMYK value is (0,13,98,51).
CMYK: (0,13,98,51) C0M13Y98K51 (0%,13%,98%,51%) (0.00/0.13/0.98/0.51)
7D | 6D | 02 | |
---|---|---|---|
RGB | 125 | 109 | 2 |
HSL | 52° | 96.85% | 24.90% |
HSB/HSV | 52° | 98.40% | 49.02% |
CMYK | 0.00% | 12.80% | 98.40% |
50.98% |
HEX | 7D | 6D | 02 |
Decimal | 125 | 109 | 2 |
Binary | 1111101 | 1101101 | 10 |
Octal | 175 | 155 | 2 |
Examples of css and html codes for elements with #7D6D02 color. Also use rgb(125,109,2) instead hex code.
.myTextColor { color: #7D6D02; }
<p style="color:#7D6D02">This sample text font color is #7D6D02.</p>
This text font color is #7D6D02.
.myBgColor { background-color: #7D6D02; }
<div style="background-color:#7D6D02">Inner text</div>
This div background color is #7D6D02.
.myBorderColor { border: 1px solid #7D6D02; }
<div style="border:3px solid #7D6D02">Div</div>
This div border color is #7D6D02.
.myOpacity80 { color: #7D6D02; opacity: 0.8; }
<p style="color:#7D6D02;opacity:0.8;">80%</p>
Text with #7D6D02 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D6D02;}
<p style="text-shadow: 3px 3px 1px #7D6D02">Text here.</p>
This text has shadow with #7D6D02 color.
.textShadow {text-shadow: 3px 3px 1px #7D6D02, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D6D02, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D6D02 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D6D02, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D6D02, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D6D02 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D6D02; -webkit-box-shadow: 1px 1px 3px 2px #7D6D02; box-shadow: 1px 1px 3px 2px #7D6D02; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D6D02; -webkit-box-shadow: 1px 1px 3px 2px #7D6D02; box-shadow:1px 1px 3px 2px #7D6D02;">
Div content here</div>
This text has color #7D6D02 on black background.
This text has color #7D6D02 on white background.
This text has black color on #7D6D02 background.
This text has white color on #7D6D02 background.