HEX: #066B8B
RGB: (6,107,139)
#066B8B contains mainly green and blue colors. Web safe color of #066B8B is #006699 (or #069).
#066B8B color RGB value is (6,107,139).
RGB: (6,107,139) (2%,42%,55%)
R 6 of 255 = 2%
G 107 of 255 = 42%
B 139 of 255 = 55%
R + G + B ~ 33%. #066B8B is quite dark color.
R + G + B =
6 + 107 + 139 = 252 (100%)
R 6 of 252 ~ 2.38%
G 107 of 252 ~ 42.46%
B 139 of 252 ~ 55.16%
#066B8B color CMYK value is (96,23,0,45).
CMYK: (96,23,0,45) C96M23Y0K45 (96%,23%,0%,45%) (0.96/0.23/0.00/0.45)
06 | 6B | 8B | |
---|---|---|---|
RGB | 6 | 107 | 139 |
HSL | 194° | 91.72% | 28.43% |
HSB/HSV | 194° | 95.68% | 54.51% |
CMYK | 95.68% | 23.02% | 0.00% |
45.49% |
HEX | 06 | 6B | 8B |
Decimal | 6 | 107 | 139 |
Binary | 110 | 1101011 | 10001011 |
Octal | 6 | 153 | 213 |
Examples of css and html codes for elements with #066B8B color. Also use rgb(6,107,139) instead hex code.
.myTextColor { color: #066B8B; }
<p style="color:#066B8B">This sample text font color is #066B8B.</p>
This text font color is #066B8B.
.myBgColor { background-color: #066B8B; }
<div style="background-color:#066B8B">Inner text</div>
This div background color is #066B8B.
.myBorderColor { border: 1px solid #066B8B; }
<div style="border:3px solid #066B8B">Div</div>
This div border color is #066B8B.
.myOpacity80 { color: #066B8B; opacity: 0.8; }
<p style="color:#066B8B;opacity:0.8;">80%</p>
Text with #066B8B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #066B8B;}
<p style="text-shadow: 3px 3px 1px #066B8B">Text here.</p>
This text has shadow with #066B8B color.
.textShadow {text-shadow: 3px 3px 1px #066B8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #066B8B, 5px 5px 20px red">Text here.</p>
This text has shadow with #066B8B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#066B8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#066B8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #066B8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #066B8B; -webkit-box-shadow: 1px 1px 3px 2px #066B8B; box-shadow: 1px 1px 3px 2px #066B8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #066B8B; -webkit-box-shadow: 1px 1px 3px 2px #066B8B; box-shadow:1px 1px 3px 2px #066B8B;">
Div content here</div>
This text has color #066B8B on black background.
This text has color #066B8B on white background.
This text has black color on #066B8B background.
This text has white color on #066B8B background.