HEX: #665506
RGB: (102,85,6)
#665506 contains mainly red and green colors. Web safe color of #665506 is #666600 (or #660).
#665506 color RGB value is (102,85,6).
RGB: (102,85,6) (40%,33%,2%)
R 102 of 255 = 40%
G 85 of 255 = 33%
B 6 of 255 = 2%
R + G + B ~ 25%. #665506 is quite dark color.
R + G + B =
102 + 85 + 6 = 193 (100%)
R 102 of 193 ~ 52.85%
G 85 of 193 ~ 44.04%
B 6 of 193 ~ 3.11%
#665506 color CMYK value is (0,17,94,60).
CMYK: (0,17,94,60) C0M17Y94K60 (0%,17%,94%,60%) (0.00/0.17/0.94/0.60)
66 | 55 | 06 | |
---|---|---|---|
RGB | 102 | 85 | 6 |
HSL | 49° | 88.89% | 21.18% |
HSB/HSV | 49° | 94.12% | 40.00% |
CMYK | 0.00% | 16.67% | 94.12% |
60.00% |
HEX | 66 | 55 | 06 |
Decimal | 102 | 85 | 6 |
Binary | 1100110 | 1010101 | 110 |
Octal | 146 | 125 | 6 |
Examples of css and html codes for elements with #665506 color. Also use rgb(102,85,6) instead hex code.
.myTextColor { color: #665506; }
<p style="color:#665506">This sample text font color is #665506.</p>
This text font color is #665506.
.myBgColor { background-color: #665506; }
<div style="background-color:#665506">Inner text</div>
This div background color is #665506.
.myBorderColor { border: 1px solid #665506; }
<div style="border:3px solid #665506">Div</div>
This div border color is #665506.
.myOpacity80 { color: #665506; opacity: 0.8; }
<p style="color:#665506;opacity:0.8;">80%</p>
Text with #665506 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #665506;}
<p style="text-shadow: 3px 3px 1px #665506">Text here.</p>
This text has shadow with #665506 color.
.textShadow {text-shadow: 3px 3px 1px #665506, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #665506, 5px 5px 20px red">Text here.</p>
This text has shadow with #665506 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#665506, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#665506, Direction=45, Strength=4)">Text</p>
This text has shadow with #665506 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #665506; -webkit-box-shadow: 1px 1px 3px 2px #665506; box-shadow: 1px 1px 3px 2px #665506; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #665506; -webkit-box-shadow: 1px 1px 3px 2px #665506; box-shadow:1px 1px 3px 2px #665506;">
Div content here</div>
This text has color #665506 on black background.
This text has color #665506 on white background.
This text has black color on #665506 background.
This text has white color on #665506 background.