HEX: #343742
RGB: (52,55,66)
#343742 contains red, green and blue colors in about the same proportion. Web safe color of #343742 is #333333 (or #333).
#343742 color RGB value is (52,55,66).
RGB: (52,55,66) (20%,22%,26%)
R 52 of 255 = 20%
G 55 of 255 = 22%
B 66 of 255 = 26%
R + G + B ~ 23%. #343742 is dark color.
R + G + B =
52 + 55 + 66 = 173 (100%)
R 52 of 173 ~ 30.06%
G 55 of 173 ~ 31.79%
B 66 of 173 ~ 38.15%
#343742 color CMYK value is (21,17,0,74).
CMYK: (21,17,0,74) C21M17Y0K74 (21%,17%,0%,74%) (0.21/0.17/0.00/0.74)
34 | 37 | 42 | |
---|---|---|---|
RGB | 52 | 55 | 66 |
HSL | 227° | 11.86% | 23.14% |
HSB/HSV | 227° | 21.21% | 25.88% |
CMYK | 21.21% | 16.67% | 0.00% |
74.12% |
HEX | 34 | 37 | 42 |
Decimal | 52 | 55 | 66 |
Binary | 110100 | 110111 | 1000010 |
Octal | 64 | 67 | 102 |
Examples of css and html codes for elements with #343742 color. Also use rgb(52,55,66) instead hex code.
.myTextColor { color: #343742; }
<p style="color:#343742">This sample text font color is #343742.</p>
This text font color is #343742.
.myBgColor { background-color: #343742; }
<div style="background-color:#343742">Inner text</div>
This div background color is #343742.
.myBorderColor { border: 1px solid #343742; }
<div style="border:3px solid #343742">Div</div>
This div border color is #343742.
.myOpacity80 { color: #343742; opacity: 0.8; }
<p style="color:#343742;opacity:0.8;">80%</p>
Text with #343742 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #343742;}
<p style="text-shadow: 3px 3px 1px #343742">Text here.</p>
This text has shadow with #343742 color.
.textShadow {text-shadow: 3px 3px 1px #343742, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #343742, 5px 5px 20px red">Text here.</p>
This text has shadow with #343742 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#343742, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#343742, Direction=45, Strength=4)">Text</p>
This text has shadow with #343742 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #343742; -webkit-box-shadow: 1px 1px 3px 2px #343742; box-shadow: 1px 1px 3px 2px #343742; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #343742; -webkit-box-shadow: 1px 1px 3px 2px #343742; box-shadow:1px 1px 3px 2px #343742;">
Div content here</div>
This text has color #343742 on black background.
This text has color #343742 on white background.
This text has black color on #343742 background.
This text has white color on #343742 background.