HEX: #6B4716
RGB: (107,71,22)
#6B4716 contains mainly red and green colors. Web safe color of #6B4716 is #663300 (or #630).
#6B4716 color RGB value is (107,71,22).
RGB: (107,71,22) (42%,28%,9%)
R 107 of 255 = 42%
G 71 of 255 = 28%
B 22 of 255 = 9%
R + G + B ~ 26%. #6B4716 is quite dark color.
R + G + B =
107 + 71 + 22 = 200 (100%)
R 107 of 200 ~ 53.5%
G 71 of 200 ~ 35.5%
B 22 of 200 ~ 11%
#6B4716 color CMYK value is (0,34,79,58).
CMYK: (0,34,79,58) C0M34Y79K58 (0%,34%,79%,58%) (0.00/0.34/0.79/0.58)
6B | 47 | 16 | |
---|---|---|---|
RGB | 107 | 71 | 22 |
HSL | 35° | 65.89% | 25.29% |
HSB/HSV | 35° | 79.44% | 41.96% |
CMYK | 0.00% | 33.64% | 79.44% |
58.04% |
HEX | 6B | 47 | 16 |
Decimal | 107 | 71 | 22 |
Binary | 1101011 | 1000111 | 10110 |
Octal | 153 | 107 | 26 |
Examples of css and html codes for elements with #6B4716 color. Also use rgb(107,71,22) instead hex code.
.myTextColor { color: #6B4716; }
<p style="color:#6B4716">This sample text font color is #6B4716.</p>
This text font color is #6B4716.
.myBgColor { background-color: #6B4716; }
<div style="background-color:#6B4716">Inner text</div>
This div background color is #6B4716.
.myBorderColor { border: 1px solid #6B4716; }
<div style="border:3px solid #6B4716">Div</div>
This div border color is #6B4716.
.myOpacity80 { color: #6B4716; opacity: 0.8; }
<p style="color:#6B4716;opacity:0.8;">80%</p>
Text with #6B4716 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B4716;}
<p style="text-shadow: 3px 3px 1px #6B4716">Text here.</p>
This text has shadow with #6B4716 color.
.textShadow {text-shadow: 3px 3px 1px #6B4716, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B4716, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B4716 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B4716, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B4716, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B4716 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B4716; -webkit-box-shadow: 1px 1px 3px 2px #6B4716; box-shadow: 1px 1px 3px 2px #6B4716; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B4716; -webkit-box-shadow: 1px 1px 3px 2px #6B4716; box-shadow:1px 1px 3px 2px #6B4716;">
Div content here</div>
This text has color #6B4716 on black background.
This text has color #6B4716 on white background.
This text has black color on #6B4716 background.
This text has white color on #6B4716 background.