HEX: #74984B
RGB: (116,152,75)
#74984B contains mainly red and green colors. Web safe color of #74984B is #669933 (or #693).
#74984B color RGB value is (116,152,75).
RGB: (116,152,75) (45%,60%,29%)
R 116 of 255 = 45%
G 152 of 255 = 60%
B 75 of 255 = 29%
R + G + B ~ 45%. #74984B is middle color (not dark and not light).
R + G + B =
116 + 152 + 75 = 343 (100%)
R 116 of 343 ~ 33.82%
G 152 of 343 ~ 44.31%
B 75 of 343 ~ 21.87%
#74984B color CMYK value is (24,0,51,40).
CMYK: (24,0,51,40) C24M0Y51K40 (24%,0%,51%,40%) (0.24/0.00/0.51/0.40)
74 | 98 | 4B | |
---|---|---|---|
RGB | 116 | 152 | 75 |
HSL | 88° | 33.92% | 44.51% |
HSB/HSV | 88° | 50.66% | 59.61% |
CMYK | 23.68% | 0.00% | 50.66% |
40.39% |
HEX | 74 | 98 | 4B |
Decimal | 116 | 152 | 75 |
Binary | 1110100 | 10011000 | 1001011 |
Octal | 164 | 230 | 113 |
Examples of css and html codes for elements with #74984B color. Also use rgb(116,152,75) instead hex code.
.myTextColor { color: #74984B; }
<p style="color:#74984B">This sample text font color is #74984B.</p>
This text font color is #74984B.
.myBgColor { background-color: #74984B; }
<div style="background-color:#74984B">Inner text</div>
This div background color is #74984B.
.myBorderColor { border: 1px solid #74984B; }
<div style="border:3px solid #74984B">Div</div>
This div border color is #74984B.
.myOpacity80 { color: #74984B; opacity: 0.8; }
<p style="color:#74984B;opacity:0.8;">80%</p>
Text with #74984B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74984B;}
<p style="text-shadow: 3px 3px 1px #74984B">Text here.</p>
This text has shadow with #74984B color.
.textShadow {text-shadow: 3px 3px 1px #74984B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74984B, 5px 5px 20px red">Text here.</p>
This text has shadow with #74984B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74984B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74984B, Direction=45, Strength=4)">Text</p>
This text has shadow with #74984B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74984B; -webkit-box-shadow: 1px 1px 3px 2px #74984B; box-shadow: 1px 1px 3px 2px #74984B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74984B; -webkit-box-shadow: 1px 1px 3px 2px #74984B; box-shadow:1px 1px 3px 2px #74984B;">
Div content here</div>
This text has color #74984B on black background.
This text has color #74984B on white background.
This text has black color on #74984B background.
This text has white color on #74984B background.