HEX: #003B7A
RGB: (0,59,122)
#003B7A contains mainly blue color. Web safe color of #003B7A is #003366 (or #036).
#003B7A color RGB value is (0,59,122).
RGB: (0,59,122) (0%,23%,48%)
R 0 of 255 = 0%
G 59 of 255 = 23%
B 122 of 255 = 48%
R + G + B ~ 24%. #003B7A is dark color.
R + G + B =
0 + 59 + 122 = 181 (100%)
R 0 of 181 ~ 0%
G 59 of 181 ~ 32.6%
B 122 of 181 ~ 67.4%
#003B7A color CMYK value is (100,52,0,52).
CMYK: (100,52,0,52) C100M52Y0K52 (100%,52%,0%,52%) (1.00/0.52/0.00/0.52)
00 | 3B | 7A | |
---|---|---|---|
RGB | 0 | 59 | 122 |
HSL | 211° | 100.00% | 23.92% |
HSB/HSV | 211° | 100.00% | 47.84% |
CMYK | 100.00% | 51.64% | 0.00% |
52.16% |
HEX | 00 | 3B | 7A |
Decimal | 0 | 59 | 122 |
Binary | 0 | 111011 | 1111010 |
Octal | 0 | 73 | 172 |
Examples of css and html codes for elements with #003B7A color. Also use rgb(0,59,122) instead hex code.
.myTextColor { color: #003B7A; }
<p style="color:#003B7A">This sample text font color is #003B7A.</p>
This text font color is #003B7A.
.myBgColor { background-color: #003B7A; }
<div style="background-color:#003B7A">Inner text</div>
This div background color is #003B7A.
.myBorderColor { border: 1px solid #003B7A; }
<div style="border:3px solid #003B7A">Div</div>
This div border color is #003B7A.
.myOpacity80 { color: #003B7A; opacity: 0.8; }
<p style="color:#003B7A;opacity:0.8;">80%</p>
Text with #003B7A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #003B7A;}
<p style="text-shadow: 3px 3px 1px #003B7A">Text here.</p>
This text has shadow with #003B7A color.
.textShadow {text-shadow: 3px 3px 1px #003B7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #003B7A, 5px 5px 20px red">Text here.</p>
This text has shadow with #003B7A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#003B7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#003B7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #003B7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #003B7A; -webkit-box-shadow: 1px 1px 3px 2px #003B7A; box-shadow: 1px 1px 3px 2px #003B7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #003B7A; -webkit-box-shadow: 1px 1px 3px 2px #003B7A; box-shadow:1px 1px 3px 2px #003B7A;">
Div content here</div>
This text has color #003B7A on black background.
This text has color #003B7A on white background.
This text has black color on #003B7A background.
This text has white color on #003B7A background.