HEX: #494042
RGB: (73,64,66)
#494042 contains red, green and blue colors in about the same proportion. Web safe color of #494042 is #333333 (or #333).
#494042 color RGB value is (73,64,66).
RGB: (73,64,66) (29%,25%,26%)
R 73 of 255 = 29%
G 64 of 255 = 25%
B 66 of 255 = 26%
R + G + B ~ 27%. #494042 is quite dark color.
R + G + B =
73 + 64 + 66 = 203 (100%)
R 73 of 203 ~ 35.96%
G 64 of 203 ~ 31.53%
B 66 of 203 ~ 32.51%
#494042 color CMYK value is (0,12,10,71).
CMYK: (0,12,10,71) C0M12Y10K71 (0%,12%,10%,71%) (0.00/0.12/0.10/0.71)
49 | 40 | 42 | |
---|---|---|---|
RGB | 73 | 64 | 66 |
HSL | 347° | 6.57% | 26.86% |
HSB/HSV | 347° | 12.33% | 28.63% |
CMYK | 0.00% | 12.33% | 9.59% |
71.37% |
HEX | 49 | 40 | 42 |
Decimal | 73 | 64 | 66 |
Binary | 1001001 | 1000000 | 1000010 |
Octal | 111 | 100 | 102 |
Examples of css and html codes for elements with #494042 color. Also use rgb(73,64,66) instead hex code.
.myTextColor { color: #494042; }
<p style="color:#494042">This sample text font color is #494042.</p>
This text font color is #494042.
.myBgColor { background-color: #494042; }
<div style="background-color:#494042">Inner text</div>
This div background color is #494042.
.myBorderColor { border: 1px solid #494042; }
<div style="border:3px solid #494042">Div</div>
This div border color is #494042.
.myOpacity80 { color: #494042; opacity: 0.8; }
<p style="color:#494042;opacity:0.8;">80%</p>
Text with #494042 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #494042;}
<p style="text-shadow: 3px 3px 1px #494042">Text here.</p>
This text has shadow with #494042 color.
.textShadow {text-shadow: 3px 3px 1px #494042, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #494042, 5px 5px 20px red">Text here.</p>
This text has shadow with #494042 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#494042, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#494042, Direction=45, Strength=4)">Text</p>
This text has shadow with #494042 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #494042; -webkit-box-shadow: 1px 1px 3px 2px #494042; box-shadow: 1px 1px 3px 2px #494042; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #494042; -webkit-box-shadow: 1px 1px 3px 2px #494042; box-shadow:1px 1px 3px 2px #494042;">
Div content here</div>
This text has color #494042 on black background.
This text has color #494042 on white background.
This text has black color on #494042 background.
This text has white color on #494042 background.