HEX: #686018
RGB: (104,96,24)
#686018 contains mainly red and green colors. Web safe color of #686018 is #666600 (or #660).
#686018 color RGB value is (104,96,24).
RGB: (104,96,24) (41%,38%,9%)
R 104 of 255 = 41%
G 96 of 255 = 38%
B 24 of 255 = 9%
R + G + B ~ 29%. #686018 is quite dark color.
R + G + B =
104 + 96 + 24 = 224 (100%)
R 104 of 224 ~ 46.43%
G 96 of 224 ~ 42.86%
B 24 of 224 ~ 10.71%
#686018 color CMYK value is (0,8,77,59).
CMYK: (0,8,77,59) C0M8Y77K59 (0%,8%,77%,59%) (0.00/0.08/0.77/0.59)
68 | 60 | 18 | |
---|---|---|---|
RGB | 104 | 96 | 24 |
HSL | 54° | 62.50% | 25.10% |
HSB/HSV | 54° | 76.92% | 40.78% |
CMYK | 0.00% | 7.69% | 76.92% |
59.22% |
HEX | 68 | 60 | 18 |
Decimal | 104 | 96 | 24 |
Binary | 1101000 | 1100000 | 11000 |
Octal | 150 | 140 | 30 |
Examples of css and html codes for elements with #686018 color. Also use rgb(104,96,24) instead hex code.
.myTextColor { color: #686018; }
<p style="color:#686018">This sample text font color is #686018.</p>
This text font color is #686018.
.myBgColor { background-color: #686018; }
<div style="background-color:#686018">Inner text</div>
This div background color is #686018.
.myBorderColor { border: 1px solid #686018; }
<div style="border:3px solid #686018">Div</div>
This div border color is #686018.
.myOpacity80 { color: #686018; opacity: 0.8; }
<p style="color:#686018;opacity:0.8;">80%</p>
Text with #686018 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #686018;}
<p style="text-shadow: 3px 3px 1px #686018">Text here.</p>
This text has shadow with #686018 color.
.textShadow {text-shadow: 3px 3px 1px #686018, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #686018, 5px 5px 20px red">Text here.</p>
This text has shadow with #686018 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#686018, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#686018, Direction=45, Strength=4)">Text</p>
This text has shadow with #686018 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #686018; -webkit-box-shadow: 1px 1px 3px 2px #686018; box-shadow: 1px 1px 3px 2px #686018; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #686018; -webkit-box-shadow: 1px 1px 3px 2px #686018; box-shadow:1px 1px 3px 2px #686018;">
Div content here</div>
This text has color #686018 on black background.
This text has color #686018 on white background.
This text has black color on #686018 background.
This text has white color on #686018 background.