HEX: #066C9A
RGB: (6,108,154)
#066C9A contains mainly green and blue colors. Web safe color of #066C9A is #006699 (or #069).
#066C9A color RGB value is (6,108,154).
RGB: (6,108,154) (2%,42%,60%)
R 6 of 255 = 2%
G 108 of 255 = 42%
B 154 of 255 = 60%
R + G + B ~ 35%. #066C9A is quite dark color.
R + G + B =
6 + 108 + 154 = 268 (100%)
R 6 of 268 ~ 2.24%
G 108 of 268 ~ 40.3%
B 154 of 268 ~ 57.46%
#066C9A color CMYK value is (96,30,0,40).
CMYK: (96,30,0,40) C96M30Y0K40 (96%,30%,0%,40%) (0.96/0.30/0.00/0.40)
06 | 6C | 9A | |
---|---|---|---|
RGB | 6 | 108 | 154 |
HSL | 199° | 92.50% | 31.37% |
HSB/HSV | 199° | 96.10% | 60.39% |
CMYK | 96.10% | 29.87% | 0.00% |
39.61% |
HEX | 06 | 6C | 9A |
Decimal | 6 | 108 | 154 |
Binary | 110 | 1101100 | 10011010 |
Octal | 6 | 154 | 232 |
Examples of css and html codes for elements with #066C9A color. Also use rgb(6,108,154) instead hex code.
.myTextColor { color: #066C9A; }
<p style="color:#066C9A">This sample text font color is #066C9A.</p>
This text font color is #066C9A.
.myBgColor { background-color: #066C9A; }
<div style="background-color:#066C9A">Inner text</div>
This div background color is #066C9A.
.myBorderColor { border: 1px solid #066C9A; }
<div style="border:3px solid #066C9A">Div</div>
This div border color is #066C9A.
.myOpacity80 { color: #066C9A; opacity: 0.8; }
<p style="color:#066C9A;opacity:0.8;">80%</p>
Text with #066C9A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #066C9A;}
<p style="text-shadow: 3px 3px 1px #066C9A">Text here.</p>
This text has shadow with #066C9A color.
.textShadow {text-shadow: 3px 3px 1px #066C9A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #066C9A, 5px 5px 20px red">Text here.</p>
This text has shadow with #066C9A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#066C9A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#066C9A, Direction=45, Strength=4)">Text</p>
This text has shadow with #066C9A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #066C9A; -webkit-box-shadow: 1px 1px 3px 2px #066C9A; box-shadow: 1px 1px 3px 2px #066C9A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #066C9A; -webkit-box-shadow: 1px 1px 3px 2px #066C9A; box-shadow:1px 1px 3px 2px #066C9A;">
Div content here</div>
This text has color #066C9A on black background.
This text has color #066C9A on white background.
This text has black color on #066C9A background.
This text has white color on #066C9A background.