HEX: #051B53
RGB: (5,27,83)
#051B53 contains mainly green and blue colors. Web safe color of #051B53 is #003366 (or #036).
#051B53 color RGB value is (5,27,83).
RGB: (5,27,83) (2%,11%,33%)
R 5 of 255 = 2%
G 27 of 255 = 11%
B 83 of 255 = 33%
R + G + B ~ 15%. #051B53 is dark color.
R + G + B =
5 + 27 + 83 = 115 (100%)
R 5 of 115 ~ 4.35%
G 27 of 115 ~ 23.48%
B 83 of 115 ~ 72.17%
#051B53 color CMYK value is (94,67,0,67).
CMYK: (94,67,0,67) C94M67Y0K67 (94%,67%,0%,67%) (0.94/0.67/0.00/0.67)
05 | 1B | 53 | |
---|---|---|---|
RGB | 5 | 27 | 83 |
HSL | 223° | 88.64% | 17.25% |
HSB/HSV | 223° | 93.98% | 32.55% |
CMYK | 93.98% | 67.47% | 0.00% |
67.45% |
HEX | 05 | 1B | 53 |
Decimal | 5 | 27 | 83 |
Binary | 101 | 11011 | 1010011 |
Octal | 5 | 33 | 123 |
Examples of css and html codes for elements with #051B53 color. Also use rgb(5,27,83) instead hex code.
.myTextColor { color: #051B53; }
<p style="color:#051B53">This sample text font color is #051B53.</p>
This text font color is #051B53.
.myBgColor { background-color: #051B53; }
<div style="background-color:#051B53">Inner text</div>
This div background color is #051B53.
.myBorderColor { border: 1px solid #051B53; }
<div style="border:3px solid #051B53">Div</div>
This div border color is #051B53.
.myOpacity80 { color: #051B53; opacity: 0.8; }
<p style="color:#051B53;opacity:0.8;">80%</p>
Text with #051B53 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #051B53;}
<p style="text-shadow: 3px 3px 1px #051B53">Text here.</p>
This text has shadow with #051B53 color.
.textShadow {text-shadow: 3px 3px 1px #051B53, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #051B53, 5px 5px 20px red">Text here.</p>
This text has shadow with #051B53 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#051B53, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#051B53, Direction=45, Strength=4)">Text</p>
This text has shadow with #051B53 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #051B53; -webkit-box-shadow: 1px 1px 3px 2px #051B53; box-shadow: 1px 1px 3px 2px #051B53; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #051B53; -webkit-box-shadow: 1px 1px 3px 2px #051B53; box-shadow:1px 1px 3px 2px #051B53;">
Div content here</div>
This text has color #051B53 on black background.
This text has color #051B53 on white background.
This text has black color on #051B53 background.
This text has white color on #051B53 background.