HEX: #052D5C
RGB: (5,45,92)
#052D5C contains mainly green and blue colors. Web safe color of #052D5C is #003366 (or #036).
#052D5C color RGB value is (5,45,92).
RGB: (5,45,92) (2%,18%,36%)
R 5 of 255 = 2%
G 45 of 255 = 18%
B 92 of 255 = 36%
R + G + B ~ 19%. #052D5C is dark color.
R + G + B =
5 + 45 + 92 = 142 (100%)
R 5 of 142 ~ 3.52%
G 45 of 142 ~ 31.69%
B 92 of 142 ~ 64.79%
#052D5C color CMYK value is (95,51,0,64).
CMYK: (95,51,0,64) C95M51Y0K64 (95%,51%,0%,64%) (0.95/0.51/0.00/0.64)
05 | 2D | 5C | |
---|---|---|---|
RGB | 5 | 45 | 92 |
HSL | 212° | 89.69% | 19.02% |
HSB/HSV | 212° | 94.57% | 36.08% |
CMYK | 94.57% | 51.09% | 0.00% |
63.92% |
HEX | 05 | 2D | 5C |
Decimal | 5 | 45 | 92 |
Binary | 101 | 101101 | 1011100 |
Octal | 5 | 55 | 134 |
Examples of css and html codes for elements with #052D5C color. Also use rgb(5,45,92) instead hex code.
.myTextColor { color: #052D5C; }
<p style="color:#052D5C">This sample text font color is #052D5C.</p>
This text font color is #052D5C.
.myBgColor { background-color: #052D5C; }
<div style="background-color:#052D5C">Inner text</div>
This div background color is #052D5C.
.myBorderColor { border: 1px solid #052D5C; }
<div style="border:3px solid #052D5C">Div</div>
This div border color is #052D5C.
.myOpacity80 { color: #052D5C; opacity: 0.8; }
<p style="color:#052D5C;opacity:0.8;">80%</p>
Text with #052D5C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #052D5C;}
<p style="text-shadow: 3px 3px 1px #052D5C">Text here.</p>
This text has shadow with #052D5C color.
.textShadow {text-shadow: 3px 3px 1px #052D5C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #052D5C, 5px 5px 20px red">Text here.</p>
This text has shadow with #052D5C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#052D5C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#052D5C, Direction=45, Strength=4)">Text</p>
This text has shadow with #052D5C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #052D5C; -webkit-box-shadow: 1px 1px 3px 2px #052D5C; box-shadow: 1px 1px 3px 2px #052D5C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #052D5C; -webkit-box-shadow: 1px 1px 3px 2px #052D5C; box-shadow:1px 1px 3px 2px #052D5C;">
Div content here</div>
This text has color #052D5C on black background.
This text has color #052D5C on white background.
This text has black color on #052D5C background.
This text has white color on #052D5C background.