HEX: #30B979
RGB: (48,185,121)
#30B979 contains mainly green color. Web safe color of #30B979 is #33CC66 (or #3C6).
#30B979 color RGB value is (48,185,121).
RGB: (48,185,121) (19%,73%,47%)
R 48 of 255 = 19%
G 185 of 255 = 73%
B 121 of 255 = 47%
R + G + B ~ 46%. #30B979 is middle color (not dark and not light).
R + G + B =
48 + 185 + 121 = 354 (100%)
R 48 of 354 ~ 13.56%
G 185 of 354 ~ 52.26%
B 121 of 354 ~ 34.18%
#30B979 color CMYK value is (74,0,35,27).
CMYK: (74,0,35,27) C74M0Y35K27 (74%,0%,35%,27%) (0.74/0.00/0.35/0.27)
30 | B9 | 79 | |
---|---|---|---|
RGB | 48 | 185 | 121 |
HSL | 152° | 58.80% | 45.69% |
HSB/HSV | 152° | 74.05% | 72.55% |
CMYK | 74.05% | 0.00% | 34.59% |
27.45% |
HEX | 30 | B9 | 79 |
Decimal | 48 | 185 | 121 |
Binary | 110000 | 10111001 | 1111001 |
Octal | 60 | 271 | 171 |
Examples of css and html codes for elements with #30B979 color. Also use rgb(48,185,121) instead hex code.
.myTextColor { color: #30B979; }
<p style="color:#30B979">This sample text font color is #30B979.</p>
This text font color is #30B979.
.myBgColor { background-color: #30B979; }
<div style="background-color:#30B979">Inner text</div>
This div background color is #30B979.
.myBorderColor { border: 1px solid #30B979; }
<div style="border:3px solid #30B979">Div</div>
This div border color is #30B979.
.myOpacity80 { color: #30B979; opacity: 0.8; }
<p style="color:#30B979;opacity:0.8;">80%</p>
Text with #30B979 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30B979;}
<p style="text-shadow: 3px 3px 1px #30B979">Text here.</p>
This text has shadow with #30B979 color.
.textShadow {text-shadow: 3px 3px 1px #30B979, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30B979, 5px 5px 20px red">Text here.</p>
This text has shadow with #30B979 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30B979, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30B979, Direction=45, Strength=4)">Text</p>
This text has shadow with #30B979 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30B979; -webkit-box-shadow: 1px 1px 3px 2px #30B979; box-shadow: 1px 1px 3px 2px #30B979; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30B979; -webkit-box-shadow: 1px 1px 3px 2px #30B979; box-shadow:1px 1px 3px 2px #30B979;">
Div content here</div>
This text has color #30B979 on black background.
This text has color #30B979 on white background.
This text has black color on #30B979 background.
This text has white color on #30B979 background.