HEX: #6D7217
RGB: (109,114,23)
#6D7217 contains mainly red and green colors. Web safe color of #6D7217 is #666600 (or #660).
#6D7217 color RGB value is (109,114,23).
RGB: (109,114,23) (43%,45%,9%)
R 109 of 255 = 43%
G 114 of 255 = 45%
B 23 of 255 = 9%
R + G + B ~ 32%. #6D7217 is quite dark color.
R + G + B =
109 + 114 + 23 = 246 (100%)
R 109 of 246 ~ 44.31%
G 114 of 246 ~ 46.34%
B 23 of 246 ~ 9.35%
#6D7217 color CMYK value is (4,0,80,55).
CMYK: (4,0,80,55) C4M0Y80K55 (4%,0%,80%,55%) (0.04/0.00/0.80/0.55)
6D | 72 | 17 | |
---|---|---|---|
RGB | 109 | 114 | 23 |
HSL | 63° | 66.42% | 26.86% |
HSB/HSV | 63° | 79.82% | 44.71% |
CMYK | 4.39% | 0.00% | 79.82% |
55.29% |
HEX | 6D | 72 | 17 |
Decimal | 109 | 114 | 23 |
Binary | 1101101 | 1110010 | 10111 |
Octal | 155 | 162 | 27 |
Examples of css and html codes for elements with #6D7217 color. Also use rgb(109,114,23) instead hex code.
.myTextColor { color: #6D7217; }
<p style="color:#6D7217">This sample text font color is #6D7217.</p>
This text font color is #6D7217.
.myBgColor { background-color: #6D7217; }
<div style="background-color:#6D7217">Inner text</div>
This div background color is #6D7217.
.myBorderColor { border: 1px solid #6D7217; }
<div style="border:3px solid #6D7217">Div</div>
This div border color is #6D7217.
.myOpacity80 { color: #6D7217; opacity: 0.8; }
<p style="color:#6D7217;opacity:0.8;">80%</p>
Text with #6D7217 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D7217;}
<p style="text-shadow: 3px 3px 1px #6D7217">Text here.</p>
This text has shadow with #6D7217 color.
.textShadow {text-shadow: 3px 3px 1px #6D7217, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D7217, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D7217 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D7217, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D7217, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D7217 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D7217; -webkit-box-shadow: 1px 1px 3px 2px #6D7217; box-shadow: 1px 1px 3px 2px #6D7217; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D7217; -webkit-box-shadow: 1px 1px 3px 2px #6D7217; box-shadow:1px 1px 3px 2px #6D7217;">
Div content here</div>
This text has color #6D7217 on black background.
This text has color #6D7217 on white background.
This text has black color on #6D7217 background.
This text has white color on #6D7217 background.