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