HEX: #668466
RGB: (102,132,102)
#668466 contains red, green and blue colors in about the same proportion. Web safe color of #668466 is #669966 (or #696).
#668466 color RGB value is (102,132,102).
RGB: (102,132,102) (40%,52%,40%)
R 102 of 255 = 40%
G 132 of 255 = 52%
B 102 of 255 = 40%
R + G + B ~ 44%. #668466 is middle color (not dark and not light).
R + G + B =
102 + 132 + 102 = 336 (100%)
R 102 of 336 ~ 30.36%
G 132 of 336 ~ 39.29%
B 102 of 336 ~ 30.36%
#668466 color CMYK value is (23,0,23,48).
CMYK: (23,0,23,48) C23M0Y23K48 (23%,0%,23%,48%) (0.23/0.00/0.23/0.48)
66 | 84 | 66 | |
---|---|---|---|
RGB | 102 | 132 | 102 |
HSL | 120° | 12.82% | 45.88% |
HSB/HSV | 120° | 22.73% | 51.76% |
CMYK | 22.73% | 0.00% | 22.73% |
48.24% |
HEX | 66 | 84 | 66 |
Decimal | 102 | 132 | 102 |
Binary | 1100110 | 10000100 | 1100110 |
Octal | 146 | 204 | 146 |
Examples of css and html codes for elements with #668466 color. Also use rgb(102,132,102) instead hex code.
.myTextColor { color: #668466; }
<p style="color:#668466">This sample text font color is #668466.</p>
This text font color is #668466.
.myBgColor { background-color: #668466; }
<div style="background-color:#668466">Inner text</div>
This div background color is #668466.
.myBorderColor { border: 1px solid #668466; }
<div style="border:3px solid #668466">Div</div>
This div border color is #668466.
.myOpacity80 { color: #668466; opacity: 0.8; }
<p style="color:#668466;opacity:0.8;">80%</p>
Text with #668466 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #668466;}
<p style="text-shadow: 3px 3px 1px #668466">Text here.</p>
This text has shadow with #668466 color.
.textShadow {text-shadow: 3px 3px 1px #668466, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #668466, 5px 5px 20px red">Text here.</p>
This text has shadow with #668466 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#668466, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#668466, Direction=45, Strength=4)">Text</p>
This text has shadow with #668466 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #668466; -webkit-box-shadow: 1px 1px 3px 2px #668466; box-shadow: 1px 1px 3px 2px #668466; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #668466; -webkit-box-shadow: 1px 1px 3px 2px #668466; box-shadow:1px 1px 3px 2px #668466;">
Div content here</div>
This text has color #668466 on black background.
This text has color #668466 on white background.
This text has black color on #668466 background.
This text has white color on #668466 background.