HEX: #050389
RGB: (5,3,137)
#050389 contains mainly blue color. Web safe color of #050389 is #000099 (or #009).
#050389 color RGB value is (5,3,137).
RGB: (5,3,137) (2%,1%,54%)
R 5 of 255 = 2%
G 3 of 255 = 1%
B 137 of 255 = 54%
R + G + B ~ 19%. #050389 is dark color.
R + G + B =
5 + 3 + 137 = 145 (100%)
R 5 of 145 ~ 3.45%
G 3 of 145 ~ 2.07%
B 137 of 145 ~ 94.48%
#050389 color CMYK value is (96,98,0,46).
CMYK: (96,98,0,46) C96M98Y0K46 (96%,98%,0%,46%) (0.96/0.98/0.00/0.46)
05 | 03 | 89 | |
---|---|---|---|
RGB | 5 | 3 | 137 |
HSL | 241° | 95.71% | 27.45% |
HSB/HSV | 241° | 97.81% | 53.73% |
CMYK | 96.35% | 97.81% | 0.00% |
46.27% |
HEX | 05 | 03 | 89 |
Decimal | 5 | 3 | 137 |
Binary | 101 | 11 | 10001001 |
Octal | 5 | 3 | 211 |
Examples of css and html codes for elements with #050389 color. Also use rgb(5,3,137) instead hex code.
.myTextColor { color: #050389; }
<p style="color:#050389">This sample text font color is #050389.</p>
This text font color is #050389.
.myBgColor { background-color: #050389; }
<div style="background-color:#050389">Inner text</div>
This div background color is #050389.
.myBorderColor { border: 1px solid #050389; }
<div style="border:3px solid #050389">Div</div>
This div border color is #050389.
.myOpacity80 { color: #050389; opacity: 0.8; }
<p style="color:#050389;opacity:0.8;">80%</p>
Text with #050389 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #050389;}
<p style="text-shadow: 3px 3px 1px #050389">Text here.</p>
This text has shadow with #050389 color.
.textShadow {text-shadow: 3px 3px 1px #050389, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #050389, 5px 5px 20px red">Text here.</p>
This text has shadow with #050389 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#050389, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#050389, Direction=45, Strength=4)">Text</p>
This text has shadow with #050389 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #050389; -webkit-box-shadow: 1px 1px 3px 2px #050389; box-shadow: 1px 1px 3px 2px #050389; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #050389; -webkit-box-shadow: 1px 1px 3px 2px #050389; box-shadow:1px 1px 3px 2px #050389;">
Div content here</div>
This text has color #050389 on black background.
This text has color #050389 on white background.
This text has black color on #050389 background.
This text has white color on #050389 background.