HEX: #6B7E1D
RGB: (107,126,29)
#6B7E1D contains mainly red and green colors. Web safe color of #6B7E1D is #666633 (or #663).
#6B7E1D color RGB value is (107,126,29).
RGB: (107,126,29) (42%,49%,11%)
R 107 of 255 = 42%
G 126 of 255 = 49%
B 29 of 255 = 11%
R + G + B ~ 34%. #6B7E1D is quite dark color.
R + G + B =
107 + 126 + 29 = 262 (100%)
R 107 of 262 ~ 40.84%
G 126 of 262 ~ 48.09%
B 29 of 262 ~ 11.07%
#6B7E1D color CMYK value is (15,0,77,51).
CMYK: (15,0,77,51) C15M0Y77K51 (15%,0%,77%,51%) (0.15/0.00/0.77/0.51)
6B | 7E | 1D | |
---|---|---|---|
RGB | 107 | 126 | 29 |
HSL | 72° | 62.58% | 30.39% |
HSB/HSV | 72° | 76.98% | 49.41% |
CMYK | 15.08% | 0.00% | 76.98% |
50.59% |
HEX | 6B | 7E | 1D |
Decimal | 107 | 126 | 29 |
Binary | 1101011 | 1111110 | 11101 |
Octal | 153 | 176 | 35 |
Examples of css and html codes for elements with #6B7E1D color. Also use rgb(107,126,29) instead hex code.
.myTextColor { color: #6B7E1D; }
<p style="color:#6B7E1D">This sample text font color is #6B7E1D.</p>
This text font color is #6B7E1D.
.myBgColor { background-color: #6B7E1D; }
<div style="background-color:#6B7E1D">Inner text</div>
This div background color is #6B7E1D.
.myBorderColor { border: 1px solid #6B7E1D; }
<div style="border:3px solid #6B7E1D">Div</div>
This div border color is #6B7E1D.
.myOpacity80 { color: #6B7E1D; opacity: 0.8; }
<p style="color:#6B7E1D;opacity:0.8;">80%</p>
Text with #6B7E1D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B7E1D;}
<p style="text-shadow: 3px 3px 1px #6B7E1D">Text here.</p>
This text has shadow with #6B7E1D color.
.textShadow {text-shadow: 3px 3px 1px #6B7E1D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B7E1D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B7E1D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B7E1D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B7E1D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B7E1D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B7E1D; -webkit-box-shadow: 1px 1px 3px 2px #6B7E1D; box-shadow: 1px 1px 3px 2px #6B7E1D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B7E1D; -webkit-box-shadow: 1px 1px 3px 2px #6B7E1D; box-shadow:1px 1px 3px 2px #6B7E1D;">
Div content here</div>
This text has color #6B7E1D on black background.
This text has color #6B7E1D on white background.
This text has black color on #6B7E1D background.
This text has white color on #6B7E1D background.