HEX: #05338D
RGB: (5,51,141)
#05338D contains mainly blue color. Web safe color of #05338D is #003399 (or #039).
#05338D color RGB value is (5,51,141).
RGB: (5,51,141) (2%,20%,55%)
R 5 of 255 = 2%
G 51 of 255 = 20%
B 141 of 255 = 55%
R + G + B ~ 26%. #05338D is quite dark color.
R + G + B =
5 + 51 + 141 = 197 (100%)
R 5 of 197 ~ 2.54%
G 51 of 197 ~ 25.89%
B 141 of 197 ~ 71.57%
#05338D color CMYK value is (96,64,0,45).
CMYK: (96,64,0,45) C96M64Y0K45 (96%,64%,0%,45%) (0.96/0.64/0.00/0.45)
05 | 33 | 8D | |
---|---|---|---|
RGB | 5 | 51 | 141 |
HSL | 220° | 93.15% | 28.63% |
HSB/HSV | 220° | 96.45% | 55.29% |
CMYK | 96.45% | 63.83% | 0.00% |
44.71% |
HEX | 05 | 33 | 8D |
Decimal | 5 | 51 | 141 |
Binary | 101 | 110011 | 10001101 |
Octal | 5 | 63 | 215 |
Examples of css and html codes for elements with #05338D color. Also use rgb(5,51,141) instead hex code.
.myTextColor { color: #05338D; }
<p style="color:#05338D">This sample text font color is #05338D.</p>
This text font color is #05338D.
.myBgColor { background-color: #05338D; }
<div style="background-color:#05338D">Inner text</div>
This div background color is #05338D.
.myBorderColor { border: 1px solid #05338D; }
<div style="border:3px solid #05338D">Div</div>
This div border color is #05338D.
.myOpacity80 { color: #05338D; opacity: 0.8; }
<p style="color:#05338D;opacity:0.8;">80%</p>
Text with #05338D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #05338D;}
<p style="text-shadow: 3px 3px 1px #05338D">Text here.</p>
This text has shadow with #05338D color.
.textShadow {text-shadow: 3px 3px 1px #05338D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #05338D, 5px 5px 20px red">Text here.</p>
This text has shadow with #05338D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#05338D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#05338D, Direction=45, Strength=4)">Text</p>
This text has shadow with #05338D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #05338D; -webkit-box-shadow: 1px 1px 3px 2px #05338D; box-shadow: 1px 1px 3px 2px #05338D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #05338D; -webkit-box-shadow: 1px 1px 3px 2px #05338D; box-shadow:1px 1px 3px 2px #05338D;">
Div content here</div>
This text has color #05338D on black background.
This text has color #05338D on white background.
This text has black color on #05338D background.
This text has white color on #05338D background.