HEX: #066651
RGB: (6,102,81)
#066651 contains mainly green and blue colors. Web safe color of #066651 is #006666 (or #066).
#066651 color RGB value is (6,102,81).
RGB: (6,102,81) (2%,40%,32%)
R 6 of 255 = 2%
G 102 of 255 = 40%
B 81 of 255 = 32%
R + G + B ~ 25%. #066651 is quite dark color.
R + G + B =
6 + 102 + 81 = 189 (100%)
R 6 of 189 ~ 3.17%
G 102 of 189 ~ 53.97%
B 81 of 189 ~ 42.86%
#066651 color CMYK value is (94,0,21,60).
CMYK: (94,0,21,60) C94M0Y21K60 (94%,0%,21%,60%) (0.94/0.00/0.21/0.60)
06 | 66 | 51 | |
---|---|---|---|
RGB | 6 | 102 | 81 |
HSL | 167° | 88.89% | 21.18% |
HSB/HSV | 167° | 94.12% | 40.00% |
CMYK | 94.12% | 0.00% | 20.59% |
60.00% |
HEX | 06 | 66 | 51 |
Decimal | 6 | 102 | 81 |
Binary | 110 | 1100110 | 1010001 |
Octal | 6 | 146 | 121 |
Examples of css and html codes for elements with #066651 color. Also use rgb(6,102,81) instead hex code.
.myTextColor { color: #066651; }
<p style="color:#066651">This sample text font color is #066651.</p>
This text font color is #066651.
.myBgColor { background-color: #066651; }
<div style="background-color:#066651">Inner text</div>
This div background color is #066651.
.myBorderColor { border: 1px solid #066651; }
<div style="border:3px solid #066651">Div</div>
This div border color is #066651.
.myOpacity80 { color: #066651; opacity: 0.8; }
<p style="color:#066651;opacity:0.8;">80%</p>
Text with #066651 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #066651;}
<p style="text-shadow: 3px 3px 1px #066651">Text here.</p>
This text has shadow with #066651 color.
.textShadow {text-shadow: 3px 3px 1px #066651, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #066651, 5px 5px 20px red">Text here.</p>
This text has shadow with #066651 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#066651, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#066651, Direction=45, Strength=4)">Text</p>
This text has shadow with #066651 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #066651; -webkit-box-shadow: 1px 1px 3px 2px #066651; box-shadow: 1px 1px 3px 2px #066651; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #066651; -webkit-box-shadow: 1px 1px 3px 2px #066651; box-shadow:1px 1px 3px 2px #066651;">
Div content here</div>
This text has color #066651 on black background.
This text has color #066651 on white background.
This text has black color on #066651 background.
This text has white color on #066651 background.