HEX: #30784A
RGB: (48,120,74)
#30784A contains mainly green and blue colors. Web safe color of #30784A is #336633 (or #363).
#30784A color RGB value is (48,120,74).
RGB: (48,120,74) (19%,47%,29%)
R 48 of 255 = 19%
G 120 of 255 = 47%
B 74 of 255 = 29%
R + G + B ~ 32%. #30784A is quite dark color.
R + G + B =
48 + 120 + 74 = 242 (100%)
R 48 of 242 ~ 19.83%
G 120 of 242 ~ 49.59%
B 74 of 242 ~ 30.58%
#30784A color CMYK value is (60,0,38,53).
CMYK: (60,0,38,53) C60M0Y38K53 (60%,0%,38%,53%) (0.60/0.00/0.38/0.53)
30 | 78 | 4A | |
---|---|---|---|
RGB | 48 | 120 | 74 |
HSL | 142° | 42.86% | 32.94% |
HSB/HSV | 142° | 60.00% | 47.06% |
CMYK | 60.00% | 0.00% | 38.33% |
52.94% |
HEX | 30 | 78 | 4A |
Decimal | 48 | 120 | 74 |
Binary | 110000 | 1111000 | 1001010 |
Octal | 60 | 170 | 112 |
Examples of css and html codes for elements with #30784A color. Also use rgb(48,120,74) instead hex code.
.myTextColor { color: #30784A; }
<p style="color:#30784A">This sample text font color is #30784A.</p>
This text font color is #30784A.
.myBgColor { background-color: #30784A; }
<div style="background-color:#30784A">Inner text</div>
This div background color is #30784A.
.myBorderColor { border: 1px solid #30784A; }
<div style="border:3px solid #30784A">Div</div>
This div border color is #30784A.
.myOpacity80 { color: #30784A; opacity: 0.8; }
<p style="color:#30784A;opacity:0.8;">80%</p>
Text with #30784A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30784A;}
<p style="text-shadow: 3px 3px 1px #30784A">Text here.</p>
This text has shadow with #30784A color.
.textShadow {text-shadow: 3px 3px 1px #30784A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30784A, 5px 5px 20px red">Text here.</p>
This text has shadow with #30784A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30784A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30784A, Direction=45, Strength=4)">Text</p>
This text has shadow with #30784A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30784A; -webkit-box-shadow: 1px 1px 3px 2px #30784A; box-shadow: 1px 1px 3px 2px #30784A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30784A; -webkit-box-shadow: 1px 1px 3px 2px #30784A; box-shadow:1px 1px 3px 2px #30784A;">
Div content here</div>
This text has color #30784A on black background.
This text has color #30784A on white background.
This text has black color on #30784A background.
This text has white color on #30784A background.