HEX: #002489
RGB: (0,36,137)
#002489 contains mainly blue color. Web safe color of #002489 is #003399 (or #039).
#002489 color RGB value is (0,36,137).
RGB: (0,36,137) (0%,14%,54%)
R 0 of 255 = 0%
G 36 of 255 = 14%
B 137 of 255 = 54%
R + G + B ~ 23%. #002489 is dark color.
R + G + B =
0 + 36 + 137 = 173 (100%)
R 0 of 173 ~ 0%
G 36 of 173 ~ 20.81%
B 137 of 173 ~ 79.19%
#002489 color CMYK value is (100,74,0,46).
CMYK: (100,74,0,46) C100M74Y0K46 (100%,74%,0%,46%) (1.00/0.74/0.00/0.46)
00 | 24 | 89 | |
---|---|---|---|
RGB | 0 | 36 | 137 |
HSL | 224° | 100.00% | 26.86% |
HSB/HSV | 224° | 100.00% | 53.73% |
CMYK | 100.00% | 73.72% | 0.00% |
46.27% |
HEX | 00 | 24 | 89 |
Decimal | 0 | 36 | 137 |
Binary | 0 | 100100 | 10001001 |
Octal | 0 | 44 | 211 |
Examples of css and html codes for elements with #002489 color. Also use rgb(0,36,137) instead hex code.
.myTextColor { color: #002489; }
<p style="color:#002489">This sample text font color is #002489.</p>
This text font color is #002489.
.myBgColor { background-color: #002489; }
<div style="background-color:#002489">Inner text</div>
This div background color is #002489.
.myBorderColor { border: 1px solid #002489; }
<div style="border:3px solid #002489">Div</div>
This div border color is #002489.
.myOpacity80 { color: #002489; opacity: 0.8; }
<p style="color:#002489;opacity:0.8;">80%</p>
Text with #002489 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #002489;}
<p style="text-shadow: 3px 3px 1px #002489">Text here.</p>
This text has shadow with #002489 color.
.textShadow {text-shadow: 3px 3px 1px #002489, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #002489, 5px 5px 20px red">Text here.</p>
This text has shadow with #002489 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#002489, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#002489, Direction=45, Strength=4)">Text</p>
This text has shadow with #002489 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #002489; -webkit-box-shadow: 1px 1px 3px 2px #002489; box-shadow: 1px 1px 3px 2px #002489; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #002489; -webkit-box-shadow: 1px 1px 3px 2px #002489; box-shadow:1px 1px 3px 2px #002489;">
Div content here</div>
This text has color #002489 on black background.
This text has color #002489 on white background.
This text has black color on #002489 background.
This text has white color on #002489 background.