HEX: #066340
RGB: (6,99,64)
#066340 contains mainly green and blue colors. Web safe color of #066340 is #006633 (or #063).
#066340 color RGB value is (6,99,64).
RGB: (6,99,64) (2%,39%,25%)
R 6 of 255 = 2%
G 99 of 255 = 39%
B 64 of 255 = 25%
R + G + B ~ 22%. #066340 is dark color.
R + G + B =
6 + 99 + 64 = 169 (100%)
R 6 of 169 ~ 3.55%
G 99 of 169 ~ 58.58%
B 64 of 169 ~ 37.87%
#066340 color CMYK value is (94,0,35,61).
CMYK: (94,0,35,61) C94M0Y35K61 (94%,0%,35%,61%) (0.94/0.00/0.35/0.61)
06 | 63 | 40 | |
---|---|---|---|
RGB | 6 | 99 | 64 |
HSL | 157° | 88.57% | 20.59% |
HSB/HSV | 157° | 93.94% | 38.82% |
CMYK | 93.94% | 0.00% | 35.35% |
61.18% |
HEX | 06 | 63 | 40 |
Decimal | 6 | 99 | 64 |
Binary | 110 | 1100011 | 1000000 |
Octal | 6 | 143 | 100 |
Examples of css and html codes for elements with #066340 color. Also use rgb(6,99,64) instead hex code.
.myTextColor { color: #066340; }
<p style="color:#066340">This sample text font color is #066340.</p>
This text font color is #066340.
.myBgColor { background-color: #066340; }
<div style="background-color:#066340">Inner text</div>
This div background color is #066340.
.myBorderColor { border: 1px solid #066340; }
<div style="border:3px solid #066340">Div</div>
This div border color is #066340.
.myOpacity80 { color: #066340; opacity: 0.8; }
<p style="color:#066340;opacity:0.8;">80%</p>
Text with #066340 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #066340;}
<p style="text-shadow: 3px 3px 1px #066340">Text here.</p>
This text has shadow with #066340 color.
.textShadow {text-shadow: 3px 3px 1px #066340, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #066340, 5px 5px 20px red">Text here.</p>
This text has shadow with #066340 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#066340, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#066340, Direction=45, Strength=4)">Text</p>
This text has shadow with #066340 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #066340; -webkit-box-shadow: 1px 1px 3px 2px #066340; box-shadow: 1px 1px 3px 2px #066340; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #066340; -webkit-box-shadow: 1px 1px 3px 2px #066340; box-shadow:1px 1px 3px 2px #066340;">
Div content here</div>
This text has color #066340 on black background.
This text has color #066340 on white background.
This text has black color on #066340 background.
This text has white color on #066340 background.