HEX: #004187
RGB: (0,65,135)
#004187 contains mainly blue color. Web safe color of #004187 is #003399 (or #039).
#004187 color RGB value is (0,65,135).
RGB: (0,65,135) (0%,25%,53%)
R 0 of 255 = 0%
G 65 of 255 = 25%
B 135 of 255 = 53%
R + G + B ~ 26%. #004187 is quite dark color.
R + G + B =
0 + 65 + 135 = 200 (100%)
R 0 of 200 ~ 0%
G 65 of 200 ~ 32.5%
B 135 of 200 ~ 67.5%
#004187 color CMYK value is (100,52,0,47).
CMYK: (100,52,0,47) C100M52Y0K47 (100%,52%,0%,47%) (1.00/0.52/0.00/0.47)
00 | 41 | 87 | |
---|---|---|---|
RGB | 0 | 65 | 135 |
HSL | 211° | 100.00% | 26.47% |
HSB/HSV | 211° | 100.00% | 52.94% |
CMYK | 100.00% | 51.85% | 0.00% |
47.06% |
HEX | 00 | 41 | 87 |
Decimal | 0 | 65 | 135 |
Binary | 0 | 1000001 | 10000111 |
Octal | 0 | 101 | 207 |
Examples of css and html codes for elements with #004187 color. Also use rgb(0,65,135) instead hex code.
.myTextColor { color: #004187; }
<p style="color:#004187">This sample text font color is #004187.</p>
This text font color is #004187.
.myBgColor { background-color: #004187; }
<div style="background-color:#004187">Inner text</div>
This div background color is #004187.
.myBorderColor { border: 1px solid #004187; }
<div style="border:3px solid #004187">Div</div>
This div border color is #004187.
.myOpacity80 { color: #004187; opacity: 0.8; }
<p style="color:#004187;opacity:0.8;">80%</p>
Text with #004187 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #004187;}
<p style="text-shadow: 3px 3px 1px #004187">Text here.</p>
This text has shadow with #004187 color.
.textShadow {text-shadow: 3px 3px 1px #004187, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #004187, 5px 5px 20px red">Text here.</p>
This text has shadow with #004187 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#004187, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#004187, Direction=45, Strength=4)">Text</p>
This text has shadow with #004187 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #004187; -webkit-box-shadow: 1px 1px 3px 2px #004187; box-shadow: 1px 1px 3px 2px #004187; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #004187; -webkit-box-shadow: 1px 1px 3px 2px #004187; box-shadow:1px 1px 3px 2px #004187;">
Div content here</div>
This text has color #004187 on black background.
This text has color #004187 on white background.
This text has black color on #004187 background.
This text has white color on #004187 background.