HEX: #6B5218
RGB: (107,82,24)
#6B5218 contains mainly red and green colors. Web safe color of #6B5218 is #666600 (or #660).
#6B5218 color RGB value is (107,82,24).
RGB: (107,82,24) (42%,32%,9%)
R 107 of 255 = 42%
G 82 of 255 = 32%
B 24 of 255 = 9%
R + G + B ~ 28%. #6B5218 is quite dark color.
R + G + B =
107 + 82 + 24 = 213 (100%)
R 107 of 213 ~ 50.23%
G 82 of 213 ~ 38.5%
B 24 of 213 ~ 11.27%
#6B5218 color CMYK value is (0,23,78,58).
CMYK: (0,23,78,58) C0M23Y78K58 (0%,23%,78%,58%) (0.00/0.23/0.78/0.58)
6B | 52 | 18 | |
---|---|---|---|
RGB | 107 | 82 | 24 |
HSL | 42° | 63.36% | 25.69% |
HSB/HSV | 42° | 77.57% | 41.96% |
CMYK | 0.00% | 23.36% | 77.57% |
58.04% |
HEX | 6B | 52 | 18 |
Decimal | 107 | 82 | 24 |
Binary | 1101011 | 1010010 | 11000 |
Octal | 153 | 122 | 30 |
Examples of css and html codes for elements with #6B5218 color. Also use rgb(107,82,24) instead hex code.
.myTextColor { color: #6B5218; }
<p style="color:#6B5218">This sample text font color is #6B5218.</p>
This text font color is #6B5218.
.myBgColor { background-color: #6B5218; }
<div style="background-color:#6B5218">Inner text</div>
This div background color is #6B5218.
.myBorderColor { border: 1px solid #6B5218; }
<div style="border:3px solid #6B5218">Div</div>
This div border color is #6B5218.
.myOpacity80 { color: #6B5218; opacity: 0.8; }
<p style="color:#6B5218;opacity:0.8;">80%</p>
Text with #6B5218 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B5218;}
<p style="text-shadow: 3px 3px 1px #6B5218">Text here.</p>
This text has shadow with #6B5218 color.
.textShadow {text-shadow: 3px 3px 1px #6B5218, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B5218, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B5218 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B5218, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B5218, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B5218 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B5218; -webkit-box-shadow: 1px 1px 3px 2px #6B5218; box-shadow: 1px 1px 3px 2px #6B5218; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B5218; -webkit-box-shadow: 1px 1px 3px 2px #6B5218; box-shadow:1px 1px 3px 2px #6B5218;">
Div content here</div>
This text has color #6B5218 on black background.
This text has color #6B5218 on white background.
This text has black color on #6B5218 background.
This text has white color on #6B5218 background.