HEX: #489F1D
RGB: (72,159,29)
#489F1D contains mainly green color. Web safe color of #489F1D is #339933 (or #393).
#489F1D color RGB value is (72,159,29).
RGB: (72,159,29) (28%,62%,11%)
R 72 of 255 = 28%
G 159 of 255 = 62%
B 29 of 255 = 11%
R + G + B ~ 34%. #489F1D is quite dark color.
R + G + B =
72 + 159 + 29 = 260 (100%)
R 72 of 260 ~ 27.69%
G 159 of 260 ~ 61.15%
B 29 of 260 ~ 11.15%
#489F1D color CMYK value is (55,0,82,38).
CMYK: (55,0,82,38) C55M0Y82K38 (55%,0%,82%,38%) (0.55/0.00/0.82/0.38)
48 | 9F | 1D | |
---|---|---|---|
RGB | 72 | 159 | 29 |
HSL | 100° | 69.15% | 36.86% |
HSB/HSV | 100° | 81.76% | 62.35% |
CMYK | 54.72% | 0.00% | 81.76% |
37.65% |
HEX | 48 | 9F | 1D |
Decimal | 72 | 159 | 29 |
Binary | 1001000 | 10011111 | 11101 |
Octal | 110 | 237 | 35 |
Examples of css and html codes for elements with #489F1D color. Also use rgb(72,159,29) instead hex code.
.myTextColor { color: #489F1D; }
<p style="color:#489F1D">This sample text font color is #489F1D.</p>
This text font color is #489F1D.
.myBgColor { background-color: #489F1D; }
<div style="background-color:#489F1D">Inner text</div>
This div background color is #489F1D.
.myBorderColor { border: 1px solid #489F1D; }
<div style="border:3px solid #489F1D">Div</div>
This div border color is #489F1D.
.myOpacity80 { color: #489F1D; opacity: 0.8; }
<p style="color:#489F1D;opacity:0.8;">80%</p>
Text with #489F1D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489F1D;}
<p style="text-shadow: 3px 3px 1px #489F1D">Text here.</p>
This text has shadow with #489F1D color.
.textShadow {text-shadow: 3px 3px 1px #489F1D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489F1D, 5px 5px 20px red">Text here.</p>
This text has shadow with #489F1D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489F1D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489F1D, Direction=45, Strength=4)">Text</p>
This text has shadow with #489F1D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489F1D; -webkit-box-shadow: 1px 1px 3px 2px #489F1D; box-shadow: 1px 1px 3px 2px #489F1D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489F1D; -webkit-box-shadow: 1px 1px 3px 2px #489F1D; box-shadow:1px 1px 3px 2px #489F1D;">
Div content here</div>
This text has color #489F1D on black background.
This text has color #489F1D on white background.
This text has black color on #489F1D background.
This text has white color on #489F1D background.