HEX: #348952
RGB: (52,137,82)
#348952 contains mainly green and blue colors. Web safe color of #348952 is #339966 (or #396).
#348952 color RGB value is (52,137,82).
RGB: (52,137,82) (20%,54%,32%)
R 52 of 255 = 20%
G 137 of 255 = 54%
B 82 of 255 = 32%
R + G + B ~ 35%. #348952 is quite dark color.
R + G + B =
52 + 137 + 82 = 271 (100%)
R 52 of 271 ~ 19.19%
G 137 of 271 ~ 50.55%
B 82 of 271 ~ 30.26%
#348952 color CMYK value is (62,0,40,46).
CMYK: (62,0,40,46) C62M0Y40K46 (62%,0%,40%,46%) (0.62/0.00/0.40/0.46)
34 | 89 | 52 | |
---|---|---|---|
RGB | 52 | 137 | 82 |
HSL | 141° | 44.97% | 37.06% |
HSB/HSV | 141° | 62.04% | 53.73% |
CMYK | 62.04% | 0.00% | 40.15% |
46.27% |
HEX | 34 | 89 | 52 |
Decimal | 52 | 137 | 82 |
Binary | 110100 | 10001001 | 1010010 |
Octal | 64 | 211 | 122 |
Examples of css and html codes for elements with #348952 color. Also use rgb(52,137,82) instead hex code.
.myTextColor { color: #348952; }
<p style="color:#348952">This sample text font color is #348952.</p>
This text font color is #348952.
.myBgColor { background-color: #348952; }
<div style="background-color:#348952">Inner text</div>
This div background color is #348952.
.myBorderColor { border: 1px solid #348952; }
<div style="border:3px solid #348952">Div</div>
This div border color is #348952.
.myOpacity80 { color: #348952; opacity: 0.8; }
<p style="color:#348952;opacity:0.8;">80%</p>
Text with #348952 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #348952;}
<p style="text-shadow: 3px 3px 1px #348952">Text here.</p>
This text has shadow with #348952 color.
.textShadow {text-shadow: 3px 3px 1px #348952, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #348952, 5px 5px 20px red">Text here.</p>
This text has shadow with #348952 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#348952, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#348952, Direction=45, Strength=4)">Text</p>
This text has shadow with #348952 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #348952; -webkit-box-shadow: 1px 1px 3px 2px #348952; box-shadow: 1px 1px 3px 2px #348952; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #348952; -webkit-box-shadow: 1px 1px 3px 2px #348952; box-shadow:1px 1px 3px 2px #348952;">
Div content here</div>
This text has color #348952 on black background.
This text has color #348952 on white background.
This text has black color on #348952 background.
This text has white color on #348952 background.