HEX: #343A5C
RGB: (52,58,92)
#343A5C contains red, green and blue colors in about the same proportion. Web safe color of #343A5C is #333366 (or #336).
#343A5C color RGB value is (52,58,92).
RGB: (52,58,92) (20%,23%,36%)
R 52 of 255 = 20%
G 58 of 255 = 23%
B 92 of 255 = 36%
R + G + B ~ 26%. #343A5C is quite dark color.
R + G + B =
52 + 58 + 92 = 202 (100%)
R 52 of 202 ~ 25.74%
G 58 of 202 ~ 28.71%
B 92 of 202 ~ 45.54%
#343A5C color CMYK value is (43,37,0,64).
CMYK: (43,37,0,64) C43M37Y0K64 (43%,37%,0%,64%) (0.43/0.37/0.00/0.64)
34 | 3A | 5C | |
---|---|---|---|
RGB | 52 | 58 | 92 |
HSL | 231° | 27.78% | 28.24% |
HSB/HSV | 231° | 43.48% | 36.08% |
CMYK | 43.48% | 36.96% | 0.00% |
63.92% |
HEX | 34 | 3A | 5C |
Decimal | 52 | 58 | 92 |
Binary | 110100 | 111010 | 1011100 |
Octal | 64 | 72 | 134 |
Examples of css and html codes for elements with #343A5C color. Also use rgb(52,58,92) instead hex code.
.myTextColor { color: #343A5C; }
<p style="color:#343A5C">This sample text font color is #343A5C.</p>
This text font color is #343A5C.
.myBgColor { background-color: #343A5C; }
<div style="background-color:#343A5C">Inner text</div>
This div background color is #343A5C.
.myBorderColor { border: 1px solid #343A5C; }
<div style="border:3px solid #343A5C">Div</div>
This div border color is #343A5C.
.myOpacity80 { color: #343A5C; opacity: 0.8; }
<p style="color:#343A5C;opacity:0.8;">80%</p>
Text with #343A5C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #343A5C;}
<p style="text-shadow: 3px 3px 1px #343A5C">Text here.</p>
This text has shadow with #343A5C color.
.textShadow {text-shadow: 3px 3px 1px #343A5C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #343A5C, 5px 5px 20px red">Text here.</p>
This text has shadow with #343A5C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#343A5C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#343A5C, Direction=45, Strength=4)">Text</p>
This text has shadow with #343A5C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #343A5C; -webkit-box-shadow: 1px 1px 3px 2px #343A5C; box-shadow: 1px 1px 3px 2px #343A5C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #343A5C; -webkit-box-shadow: 1px 1px 3px 2px #343A5C; box-shadow:1px 1px 3px 2px #343A5C;">
Div content here</div>
This text has color #343A5C on black background.
This text has color #343A5C on white background.
This text has black color on #343A5C background.
This text has white color on #343A5C background.