HEX: #02466D
RGB: (2,70,109)
#02466D contains mainly green and blue colors. Web safe color of #02466D is #003366 (or #036).
#02466D color RGB value is (2,70,109).
RGB: (2,70,109) (1%,27%,43%)
R 2 of 255 = 1%
G 70 of 255 = 27%
B 109 of 255 = 43%
R + G + B ~ 24%. #02466D is dark color.
R + G + B =
2 + 70 + 109 = 181 (100%)
R 2 of 181 ~ 1.1%
G 70 of 181 ~ 38.67%
B 109 of 181 ~ 60.22%
#02466D color CMYK value is (98,36,0,57).
CMYK: (98,36,0,57) C98M36Y0K57 (98%,36%,0%,57%) (0.98/0.36/0.00/0.57)
02 | 46 | 6D | |
---|---|---|---|
RGB | 2 | 70 | 109 |
HSL | 202° | 96.40% | 21.76% |
HSB/HSV | 202° | 98.17% | 42.75% |
CMYK | 98.17% | 35.78% | 0.00% |
57.25% |
HEX | 02 | 46 | 6D |
Decimal | 2 | 70 | 109 |
Binary | 10 | 1000110 | 1101101 |
Octal | 2 | 106 | 155 |
Examples of css and html codes for elements with #02466D color. Also use rgb(2,70,109) instead hex code.
.myTextColor { color: #02466D; }
<p style="color:#02466D">This sample text font color is #02466D.</p>
This text font color is #02466D.
.myBgColor { background-color: #02466D; }
<div style="background-color:#02466D">Inner text</div>
This div background color is #02466D.
.myBorderColor { border: 1px solid #02466D; }
<div style="border:3px solid #02466D">Div</div>
This div border color is #02466D.
.myOpacity80 { color: #02466D; opacity: 0.8; }
<p style="color:#02466D;opacity:0.8;">80%</p>
Text with #02466D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #02466D;}
<p style="text-shadow: 3px 3px 1px #02466D">Text here.</p>
This text has shadow with #02466D color.
.textShadow {text-shadow: 3px 3px 1px #02466D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #02466D, 5px 5px 20px red">Text here.</p>
This text has shadow with #02466D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#02466D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#02466D, Direction=45, Strength=4)">Text</p>
This text has shadow with #02466D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #02466D; -webkit-box-shadow: 1px 1px 3px 2px #02466D; box-shadow: 1px 1px 3px 2px #02466D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #02466D; -webkit-box-shadow: 1px 1px 3px 2px #02466D; box-shadow:1px 1px 3px 2px #02466D;">
Div content here</div>
This text has color #02466D on black background.
This text has color #02466D on white background.
This text has black color on #02466D background.
This text has white color on #02466D background.