HEX: #004B82
RGB: (0,75,130)
#004B82 contains only green and blue colors. Web safe color of #004B82 is #003399 (or #039).
#004B82 color RGB value is (0,75,130).
RGB: (0,75,130) (0%,29%,51%)
R 0 of 255 = 0%
G 75 of 255 = 29%
B 130 of 255 = 51%
R + G + B ~ 27%. #004B82 is quite dark color.
R + G + B =
0 + 75 + 130 = 205 (100%)
R 0 of 205 ~ 0%
G 75 of 205 ~ 36.59%
B 130 of 205 ~ 63.41%
#004B82 color CMYK value is (100,42,0,49).
CMYK: (100,42,0,49) C100M42Y0K49 (100%,42%,0%,49%) (1.00/0.42/0.00/0.49)
00 | 4B | 82 | |
---|---|---|---|
RGB | 0 | 75 | 130 |
HSL | 205° | 100.00% | 25.49% |
HSB/HSV | 205° | 100.00% | 50.98% |
CMYK | 100.00% | 42.31% | 0.00% |
49.02% |
HEX | 00 | 4B | 82 |
Decimal | 0 | 75 | 130 |
Binary | 0 | 1001011 | 10000010 |
Octal | 0 | 113 | 202 |
Examples of css and html codes for elements with #004B82 color. Also use rgb(0,75,130) instead hex code.
.myTextColor { color: #004B82; }
<p style="color:#004B82">This sample text font color is #004B82.</p>
This text font color is #004B82.
.myBgColor { background-color: #004B82; }
<div style="background-color:#004B82">Inner text</div>
This div background color is #004B82.
.myBorderColor { border: 1px solid #004B82; }
<div style="border:3px solid #004B82">Div</div>
This div border color is #004B82.
.myOpacity80 { color: #004B82; opacity: 0.8; }
<p style="color:#004B82;opacity:0.8;">80%</p>
Text with #004B82 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #004B82;}
<p style="text-shadow: 3px 3px 1px #004B82">Text here.</p>
This text has shadow with #004B82 color.
.textShadow {text-shadow: 3px 3px 1px #004B82, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #004B82, 5px 5px 20px red">Text here.</p>
This text has shadow with #004B82 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#004B82, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#004B82, Direction=45, Strength=4)">Text</p>
This text has shadow with #004B82 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #004B82; -webkit-box-shadow: 1px 1px 3px 2px #004B82; box-shadow: 1px 1px 3px 2px #004B82; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #004B82; -webkit-box-shadow: 1px 1px 3px 2px #004B82; box-shadow:1px 1px 3px 2px #004B82;">
Div content here</div>
This text has color #004B82 on black background.
This text has color #004B82 on white background.
This text has black color on #004B82 background.
This text has white color on #004B82 background.