HEX: #064A6A
RGB: (6,74,106)
#064A6A contains mainly green and blue colors. Web safe color of #064A6A is #003366 (or #036).
#064A6A color RGB value is (6,74,106).
RGB: (6,74,106) (2%,29%,42%)
R 6 of 255 = 2%
G 74 of 255 = 29%
B 106 of 255 = 42%
R + G + B ~ 24%. #064A6A is dark color.
R + G + B =
6 + 74 + 106 = 186 (100%)
R 6 of 186 ~ 3.23%
G 74 of 186 ~ 39.78%
B 106 of 186 ~ 56.99%
#064A6A color CMYK value is (94,30,0,58).
CMYK: (94,30,0,58) C94M30Y0K58 (94%,30%,0%,58%) (0.94/0.30/0.00/0.58)
06 | 4A | 6A | |
---|---|---|---|
RGB | 6 | 74 | 106 |
HSL | 199° | 89.29% | 21.96% |
HSB/HSV | 199° | 94.34% | 41.57% |
CMYK | 94.34% | 30.19% | 0.00% |
58.43% |
HEX | 06 | 4A | 6A |
Decimal | 6 | 74 | 106 |
Binary | 110 | 1001010 | 1101010 |
Octal | 6 | 112 | 152 |
Examples of css and html codes for elements with #064A6A color. Also use rgb(6,74,106) instead hex code.
.myTextColor { color: #064A6A; }
<p style="color:#064A6A">This sample text font color is #064A6A.</p>
This text font color is #064A6A.
.myBgColor { background-color: #064A6A; }
<div style="background-color:#064A6A">Inner text</div>
This div background color is #064A6A.
.myBorderColor { border: 1px solid #064A6A; }
<div style="border:3px solid #064A6A">Div</div>
This div border color is #064A6A.
.myOpacity80 { color: #064A6A; opacity: 0.8; }
<p style="color:#064A6A;opacity:0.8;">80%</p>
Text with #064A6A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #064A6A;}
<p style="text-shadow: 3px 3px 1px #064A6A">Text here.</p>
This text has shadow with #064A6A color.
.textShadow {text-shadow: 3px 3px 1px #064A6A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #064A6A, 5px 5px 20px red">Text here.</p>
This text has shadow with #064A6A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#064A6A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#064A6A, Direction=45, Strength=4)">Text</p>
This text has shadow with #064A6A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #064A6A; -webkit-box-shadow: 1px 1px 3px 2px #064A6A; box-shadow: 1px 1px 3px 2px #064A6A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #064A6A; -webkit-box-shadow: 1px 1px 3px 2px #064A6A; box-shadow:1px 1px 3px 2px #064A6A;">
Div content here</div>
This text has color #064A6A on black background.
This text has color #064A6A on white background.
This text has black color on #064A6A background.
This text has white color on #064A6A background.