HEX: #348948
RGB: (52,137,72)
#348948 contains mainly green color. Web safe color of #348948 is #339933 (or #393).
#348948 color RGB value is (52,137,72).
RGB: (52,137,72) (20%,54%,28%)
R 52 of 255 = 20%
G 137 of 255 = 54%
B 72 of 255 = 28%
R + G + B ~ 34%. #348948 is quite dark color.
R + G + B =
52 + 137 + 72 = 261 (100%)
R 52 of 261 ~ 19.92%
G 137 of 261 ~ 52.49%
B 72 of 261 ~ 27.59%
#348948 color CMYK value is (62,0,47,46).
CMYK: (62,0,47,46) C62M0Y47K46 (62%,0%,47%,46%) (0.62/0.00/0.47/0.46)
34 | 89 | 48 | |
---|---|---|---|
RGB | 52 | 137 | 72 |
HSL | 134° | 44.97% | 37.06% |
HSB/HSV | 134° | 62.04% | 53.73% |
CMYK | 62.04% | 0.00% | 47.45% |
46.27% |
HEX | 34 | 89 | 48 |
Decimal | 52 | 137 | 72 |
Binary | 110100 | 10001001 | 1001000 |
Octal | 64 | 211 | 110 |
Examples of css and html codes for elements with #348948 color. Also use rgb(52,137,72) instead hex code.
.myTextColor { color: #348948; }
<p style="color:#348948">This sample text font color is #348948.</p>
This text font color is #348948.
.myBgColor { background-color: #348948; }
<div style="background-color:#348948">Inner text</div>
This div background color is #348948.
.myBorderColor { border: 1px solid #348948; }
<div style="border:3px solid #348948">Div</div>
This div border color is #348948.
.myOpacity80 { color: #348948; opacity: 0.8; }
<p style="color:#348948;opacity:0.8;">80%</p>
Text with #348948 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #348948;}
<p style="text-shadow: 3px 3px 1px #348948">Text here.</p>
This text has shadow with #348948 color.
.textShadow {text-shadow: 3px 3px 1px #348948, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #348948, 5px 5px 20px red">Text here.</p>
This text has shadow with #348948 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#348948, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#348948, Direction=45, Strength=4)">Text</p>
This text has shadow with #348948 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #348948; -webkit-box-shadow: 1px 1px 3px 2px #348948; box-shadow: 1px 1px 3px 2px #348948; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #348948; -webkit-box-shadow: 1px 1px 3px 2px #348948; box-shadow:1px 1px 3px 2px #348948;">
Div content here</div>
This text has color #348948 on black background.
This text has color #348948 on white background.
This text has black color on #348948 background.
This text has white color on #348948 background.