HEX: #498D07
RGB: (73,141,7)
#498D07 contains mainly green color. Web safe color of #498D07 is #339900 (or #390).
#498D07 color RGB value is (73,141,7).
RGB: (73,141,7) (29%,55%,3%)
R 73 of 255 = 29%
G 141 of 255 = 55%
B 7 of 255 = 3%
R + G + B ~ 29%. #498D07 is quite dark color.
R + G + B =
73 + 141 + 7 = 221 (100%)
R 73 of 221 ~ 33.03%
G 141 of 221 ~ 63.8%
B 7 of 221 ~ 3.17%
#498D07 color CMYK value is (48,0,95,45).
CMYK: (48,0,95,45) C48M0Y95K45 (48%,0%,95%,45%) (0.48/0.00/0.95/0.45)
49 | 8D | 07 | |
---|---|---|---|
RGB | 73 | 141 | 7 |
HSL | 90° | 90.54% | 29.02% |
HSB/HSV | 90° | 95.04% | 55.29% |
CMYK | 48.23% | 0.00% | 95.04% |
44.71% |
HEX | 49 | 8D | 07 |
Decimal | 73 | 141 | 7 |
Binary | 1001001 | 10001101 | 111 |
Octal | 111 | 215 | 7 |
Examples of css and html codes for elements with #498D07 color. Also use rgb(73,141,7) instead hex code.
.myTextColor { color: #498D07; }
<p style="color:#498D07">This sample text font color is #498D07.</p>
This text font color is #498D07.
.myBgColor { background-color: #498D07; }
<div style="background-color:#498D07">Inner text</div>
This div background color is #498D07.
.myBorderColor { border: 1px solid #498D07; }
<div style="border:3px solid #498D07">Div</div>
This div border color is #498D07.
.myOpacity80 { color: #498D07; opacity: 0.8; }
<p style="color:#498D07;opacity:0.8;">80%</p>
Text with #498D07 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498D07;}
<p style="text-shadow: 3px 3px 1px #498D07">Text here.</p>
This text has shadow with #498D07 color.
.textShadow {text-shadow: 3px 3px 1px #498D07, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498D07, 5px 5px 20px red">Text here.</p>
This text has shadow with #498D07 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498D07, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498D07, Direction=45, Strength=4)">Text</p>
This text has shadow with #498D07 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498D07; -webkit-box-shadow: 1px 1px 3px 2px #498D07; box-shadow: 1px 1px 3px 2px #498D07; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498D07; -webkit-box-shadow: 1px 1px 3px 2px #498D07; box-shadow:1px 1px 3px 2px #498D07;">
Div content here</div>
This text has color #498D07 on black background.
This text has color #498D07 on white background.
This text has black color on #498D07 background.
This text has white color on #498D07 background.