HEX: #492812
RGB: (73,40,18)
#492812 contains red, green and blue colors in about the same proportion. Web safe color of #492812 is #333300 (or #330).
#492812 color RGB value is (73,40,18).
RGB: (73,40,18) (29%,16%,7%)
R 73 of 255 = 29%
G 40 of 255 = 16%
B 18 of 255 = 7%
R + G + B ~ 17%. #492812 is dark color.
R + G + B =
73 + 40 + 18 = 131 (100%)
R 73 of 131 ~ 55.73%
G 40 of 131 ~ 30.53%
B 18 of 131 ~ 13.74%
#492812 color CMYK value is (0,45,75,71).
CMYK: (0,45,75,71) C0M45Y75K71 (0%,45%,75%,71%) (0.00/0.45/0.75/0.71)
49 | 28 | 12 | |
---|---|---|---|
RGB | 73 | 40 | 18 |
HSL | 24° | 60.44% | 17.84% |
HSB/HSV | 24° | 75.34% | 28.63% |
CMYK | 0.00% | 45.21% | 75.34% |
71.37% |
HEX | 49 | 28 | 12 |
Decimal | 73 | 40 | 18 |
Binary | 1001001 | 101000 | 10010 |
Octal | 111 | 50 | 22 |
Examples of css and html codes for elements with #492812 color. Also use rgb(73,40,18) instead hex code.
.myTextColor { color: #492812; }
<p style="color:#492812">This sample text font color is #492812.</p>
This text font color is #492812.
.myBgColor { background-color: #492812; }
<div style="background-color:#492812">Inner text</div>
This div background color is #492812.
.myBorderColor { border: 1px solid #492812; }
<div style="border:3px solid #492812">Div</div>
This div border color is #492812.
.myOpacity80 { color: #492812; opacity: 0.8; }
<p style="color:#492812;opacity:0.8;">80%</p>
Text with #492812 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #492812;}
<p style="text-shadow: 3px 3px 1px #492812">Text here.</p>
This text has shadow with #492812 color.
.textShadow {text-shadow: 3px 3px 1px #492812, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #492812, 5px 5px 20px red">Text here.</p>
This text has shadow with #492812 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#492812, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#492812, Direction=45, Strength=4)">Text</p>
This text has shadow with #492812 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #492812; -webkit-box-shadow: 1px 1px 3px 2px #492812; box-shadow: 1px 1px 3px 2px #492812; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #492812; -webkit-box-shadow: 1px 1px 3px 2px #492812; box-shadow:1px 1px 3px 2px #492812;">
Div content here</div>
This text has color #492812 on black background.
This text has color #492812 on white background.
This text has black color on #492812 background.
This text has white color on #492812 background.