HEX: #34476C
RGB: (52,71,108)
#34476C contains red, green and blue colors in about the same proportion. Web safe color of #34476C is #333366 (or #336).
#34476C color RGB value is (52,71,108).
RGB: (52,71,108) (20%,28%,42%)
R 52 of 255 = 20%
G 71 of 255 = 28%
B 108 of 255 = 42%
R + G + B ~ 30%. #34476C is quite dark color.
R + G + B =
52 + 71 + 108 = 231 (100%)
R 52 of 231 ~ 22.51%
G 71 of 231 ~ 30.74%
B 108 of 231 ~ 46.75%
#34476C color CMYK value is (52,34,0,58).
CMYK: (52,34,0,58) C52M34Y0K58 (52%,34%,0%,58%) (0.52/0.34/0.00/0.58)
34 | 47 | 6C | |
---|---|---|---|
RGB | 52 | 71 | 108 |
HSL | 220° | 35.00% | 31.37% |
HSB/HSV | 220° | 51.85% | 42.35% |
CMYK | 51.85% | 34.26% | 0.00% |
57.65% |
HEX | 34 | 47 | 6C |
Decimal | 52 | 71 | 108 |
Binary | 110100 | 1000111 | 1101100 |
Octal | 64 | 107 | 154 |
Examples of css and html codes for elements with #34476C color. Also use rgb(52,71,108) instead hex code.
.myTextColor { color: #34476C; }
<p style="color:#34476C">This sample text font color is #34476C.</p>
This text font color is #34476C.
.myBgColor { background-color: #34476C; }
<div style="background-color:#34476C">Inner text</div>
This div background color is #34476C.
.myBorderColor { border: 1px solid #34476C; }
<div style="border:3px solid #34476C">Div</div>
This div border color is #34476C.
.myOpacity80 { color: #34476C; opacity: 0.8; }
<p style="color:#34476C;opacity:0.8;">80%</p>
Text with #34476C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #34476C;}
<p style="text-shadow: 3px 3px 1px #34476C">Text here.</p>
This text has shadow with #34476C color.
.textShadow {text-shadow: 3px 3px 1px #34476C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #34476C, 5px 5px 20px red">Text here.</p>
This text has shadow with #34476C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#34476C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#34476C, Direction=45, Strength=4)">Text</p>
This text has shadow with #34476C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #34476C; -webkit-box-shadow: 1px 1px 3px 2px #34476C; box-shadow: 1px 1px 3px 2px #34476C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #34476C; -webkit-box-shadow: 1px 1px 3px 2px #34476C; box-shadow:1px 1px 3px 2px #34476C;">
Div content here</div>
This text has color #34476C on black background.
This text has color #34476C on white background.
This text has black color on #34476C background.
This text has white color on #34476C background.