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