HEX: #498321
RGB: (73,131,33)
#498321 contains mainly red and green colors. Web safe color of #498321 is #339933 (or #393).
#498321 color RGB value is (73,131,33).
RGB: (73,131,33) (29%,51%,13%)
R 73 of 255 = 29%
G 131 of 255 = 51%
B 33 of 255 = 13%
R + G + B ~ 31%. #498321 is quite dark color.
R + G + B =
73 + 131 + 33 = 237 (100%)
R 73 of 237 ~ 30.8%
G 131 of 237 ~ 55.27%
B 33 of 237 ~ 13.92%
#498321 color CMYK value is (44,0,75,49).
CMYK: (44,0,75,49) C44M0Y75K49 (44%,0%,75%,49%) (0.44/0.00/0.75/0.49)
49 | 83 | 21 | |
---|---|---|---|
RGB | 73 | 131 | 33 |
HSL | 96° | 59.76% | 32.16% |
HSB/HSV | 96° | 74.81% | 51.37% |
CMYK | 44.27% | 0.00% | 74.81% |
48.63% |
HEX | 49 | 83 | 21 |
Decimal | 73 | 131 | 33 |
Binary | 1001001 | 10000011 | 100001 |
Octal | 111 | 203 | 41 |
Examples of css and html codes for elements with #498321 color. Also use rgb(73,131,33) instead hex code.
.myTextColor { color: #498321; }
<p style="color:#498321">This sample text font color is #498321.</p>
This text font color is #498321.
.myBgColor { background-color: #498321; }
<div style="background-color:#498321">Inner text</div>
This div background color is #498321.
.myBorderColor { border: 1px solid #498321; }
<div style="border:3px solid #498321">Div</div>
This div border color is #498321.
.myOpacity80 { color: #498321; opacity: 0.8; }
<p style="color:#498321;opacity:0.8;">80%</p>
Text with #498321 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498321;}
<p style="text-shadow: 3px 3px 1px #498321">Text here.</p>
This text has shadow with #498321 color.
.textShadow {text-shadow: 3px 3px 1px #498321, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498321, 5px 5px 20px red">Text here.</p>
This text has shadow with #498321 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498321, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498321, Direction=45, Strength=4)">Text</p>
This text has shadow with #498321 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498321; -webkit-box-shadow: 1px 1px 3px 2px #498321; box-shadow: 1px 1px 3px 2px #498321; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498321; -webkit-box-shadow: 1px 1px 3px 2px #498321; box-shadow:1px 1px 3px 2px #498321;">
Div content here</div>
This text has color #498321 on black background.
This text has color #498321 on white background.
This text has black color on #498321 background.
This text has white color on #498321 background.