HEX: #668260
RGB: (102,130,96)
#668260 contains red, green and blue colors in about the same proportion. Web safe color of #668260 is #669966 (or #696).
#668260 color RGB value is (102,130,96).
RGB: (102,130,96) (40%,51%,38%)
R 102 of 255 = 40%
G 130 of 255 = 51%
B 96 of 255 = 38%
R + G + B ~ 43%. #668260 is middle color (not dark and not light).
R + G + B =
102 + 130 + 96 = 328 (100%)
R 102 of 328 ~ 31.1%
G 130 of 328 ~ 39.63%
B 96 of 328 ~ 29.27%
#668260 color CMYK value is (22,0,26,49).
CMYK: (22,0,26,49) C22M0Y26K49 (22%,0%,26%,49%) (0.22/0.00/0.26/0.49)
66 | 82 | 60 | |
---|---|---|---|
RGB | 102 | 130 | 96 |
HSL | 109° | 15.04% | 44.31% |
HSB/HSV | 109° | 26.15% | 50.98% |
CMYK | 21.54% | 0.00% | 26.15% |
49.02% |
HEX | 66 | 82 | 60 |
Decimal | 102 | 130 | 96 |
Binary | 1100110 | 10000010 | 1100000 |
Octal | 146 | 202 | 140 |
Examples of css and html codes for elements with #668260 color. Also use rgb(102,130,96) instead hex code.
.myTextColor { color: #668260; }
<p style="color:#668260">This sample text font color is #668260.</p>
This text font color is #668260.
.myBgColor { background-color: #668260; }
<div style="background-color:#668260">Inner text</div>
This div background color is #668260.
.myBorderColor { border: 1px solid #668260; }
<div style="border:3px solid #668260">Div</div>
This div border color is #668260.
.myOpacity80 { color: #668260; opacity: 0.8; }
<p style="color:#668260;opacity:0.8;">80%</p>
Text with #668260 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #668260;}
<p style="text-shadow: 3px 3px 1px #668260">Text here.</p>
This text has shadow with #668260 color.
.textShadow {text-shadow: 3px 3px 1px #668260, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #668260, 5px 5px 20px red">Text here.</p>
This text has shadow with #668260 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#668260, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#668260, Direction=45, Strength=4)">Text</p>
This text has shadow with #668260 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #668260; -webkit-box-shadow: 1px 1px 3px 2px #668260; box-shadow: 1px 1px 3px 2px #668260; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #668260; -webkit-box-shadow: 1px 1px 3px 2px #668260; box-shadow:1px 1px 3px 2px #668260;">
Div content here</div>
This text has color #668260 on black background.
This text has color #668260 on white background.
This text has black color on #668260 background.
This text has white color on #668260 background.