HEX: #02487D
RGB: (2,72,125)
#02487D contains mainly green and blue colors. Web safe color of #02487D is #003366 (or #036).
#02487D color RGB value is (2,72,125).
RGB: (2,72,125) (1%,28%,49%)
R 2 of 255 = 1%
G 72 of 255 = 28%
B 125 of 255 = 49%
R + G + B ~ 26%. #02487D is quite dark color.
R + G + B =
2 + 72 + 125 = 199 (100%)
R 2 of 199 ~ 1.01%
G 72 of 199 ~ 36.18%
B 125 of 199 ~ 62.81%
#02487D color CMYK value is (98,42,0,51).
CMYK: (98,42,0,51) C98M42Y0K51 (98%,42%,0%,51%) (0.98/0.42/0.00/0.51)
02 | 48 | 7D | |
---|---|---|---|
RGB | 2 | 72 | 125 |
HSL | 206° | 96.85% | 24.90% |
HSB/HSV | 206° | 98.40% | 49.02% |
CMYK | 98.40% | 42.40% | 0.00% |
50.98% |
HEX | 02 | 48 | 7D |
Decimal | 2 | 72 | 125 |
Binary | 10 | 1001000 | 1111101 |
Octal | 2 | 110 | 175 |
Examples of css and html codes for elements with #02487D color. Also use rgb(2,72,125) instead hex code.
.myTextColor { color: #02487D; }
<p style="color:#02487D">This sample text font color is #02487D.</p>
This text font color is #02487D.
.myBgColor { background-color: #02487D; }
<div style="background-color:#02487D">Inner text</div>
This div background color is #02487D.
.myBorderColor { border: 1px solid #02487D; }
<div style="border:3px solid #02487D">Div</div>
This div border color is #02487D.
.myOpacity80 { color: #02487D; opacity: 0.8; }
<p style="color:#02487D;opacity:0.8;">80%</p>
Text with #02487D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #02487D;}
<p style="text-shadow: 3px 3px 1px #02487D">Text here.</p>
This text has shadow with #02487D color.
.textShadow {text-shadow: 3px 3px 1px #02487D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #02487D, 5px 5px 20px red">Text here.</p>
This text has shadow with #02487D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#02487D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#02487D, Direction=45, Strength=4)">Text</p>
This text has shadow with #02487D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #02487D; -webkit-box-shadow: 1px 1px 3px 2px #02487D; box-shadow: 1px 1px 3px 2px #02487D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #02487D; -webkit-box-shadow: 1px 1px 3px 2px #02487D; box-shadow:1px 1px 3px 2px #02487D;">
Div content here</div>
This text has color #02487D on black background.
This text has color #02487D on white background.
This text has black color on #02487D background.
This text has white color on #02487D background.