HEX: #6B8E23
RGB: (107,142,35)
Color name is OliveDrab. #6B8E23 contains mainly red and green colors. Web safe color of #6B8E23 is #669933 (or #693).
#6B8E23 color RGB value is (107,142,35).
RGB: (107,142,35) (42%,56%,14%)
R 107 of 255 = 42%
G 142 of 255 = 56%
B 35 of 255 = 14%
R + G + B ~ 37%. #6B8E23 is quite dark color.
R + G + B =
107 + 142 + 35 = 284 (100%)
R 107 of 284 ~ 37.68%
G 142 of 284 ~ 50%
B 35 of 284 ~ 12.32%
#6B8E23 color CMYK value is (25,0,75,44).
CMYK: (25,0,75,44) C25M0Y75K44 (25%,0%,75%,44%) (0.25/0.00/0.75/0.44)
6B | 8E | 23 | |
---|---|---|---|
RGB | 107 | 142 | 35 |
HSL | 80° | 60.45% | 34.71% |
HSB/HSV | 80° | 75.35% | 55.69% |
CMYK | 24.65% | 0.00% | 75.35% |
44.31% |
HEX | 6B | 8E | 23 |
Decimal | 107 | 142 | 35 |
Binary | 1101011 | 10001110 | 100011 |
Octal | 153 | 216 | 43 |
Examples of css and html codes for elements with #6B8E23 color. Also use rgb(107,142,35) instead hex code.
.myTextColor { color: #6B8E23; }
<p style="color:#6B8E23">This sample text font color is #6B8E23.</p>
This text font color is #6B8E23.
.myBgColor { background-color: #6B8E23; }
<div style="background-color:#6B8E23">Inner text</div>
This div background color is #6B8E23.
.myBorderColor { border: 1px solid #6B8E23; }
<div style="border:3px solid #6B8E23">Div</div>
This div border color is #6B8E23.
.myOpacity80 { color: #6B8E23; opacity: 0.8; }
<p style="color:#6B8E23;opacity:0.8;">80%</p>
Text with #6B8E23 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B8E23;}
<p style="text-shadow: 3px 3px 1px #6B8E23">Text here.</p>
This text has shadow with #6B8E23 color.
.textShadow {text-shadow: 3px 3px 1px #6B8E23, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B8E23, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B8E23 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B8E23, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B8E23, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B8E23 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B8E23; -webkit-box-shadow: 1px 1px 3px 2px #6B8E23; box-shadow: 1px 1px 3px 2px #6B8E23; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B8E23; -webkit-box-shadow: 1px 1px 3px 2px #6B8E23; box-shadow:1px 1px 3px 2px #6B8E23;">
Div content here</div>
This text has color #6B8E23 on black background.
This text has color #6B8E23 on white background.
This text has black color on #6B8E23 background.
This text has white color on #6B8E23 background.