HEX: #337E5B
RGB: (51,126,91)
#337E5B contains mainly green and blue colors. Web safe color of #337E5B is #336666 (or #366).
#337E5B color RGB value is (51,126,91).
RGB: (51,126,91) (20%,49%,36%)
R 51 of 255 = 20%
G 126 of 255 = 49%
B 91 of 255 = 36%
R + G + B ~ 35%. #337E5B is quite dark color.
R + G + B =
51 + 126 + 91 = 268 (100%)
R 51 of 268 ~ 19.03%
G 126 of 268 ~ 47.01%
B 91 of 268 ~ 33.96%
#337E5B color CMYK value is (60,0,28,51).
CMYK: (60,0,28,51) C60M0Y28K51 (60%,0%,28%,51%) (0.60/0.00/0.28/0.51)
33 | 7E | 5B | |
---|---|---|---|
RGB | 51 | 126 | 91 |
HSL | 152° | 42.37% | 34.71% |
HSB/HSV | 152° | 59.52% | 49.41% |
CMYK | 59.52% | 0.00% | 27.78% |
50.59% |
HEX | 33 | 7E | 5B |
Decimal | 51 | 126 | 91 |
Binary | 110011 | 1111110 | 1011011 |
Octal | 63 | 176 | 133 |
Examples of css and html codes for elements with #337E5B color. Also use rgb(51,126,91) instead hex code.
.myTextColor { color: #337E5B; }
<p style="color:#337E5B">This sample text font color is #337E5B.</p>
This text font color is #337E5B.
.myBgColor { background-color: #337E5B; }
<div style="background-color:#337E5B">Inner text</div>
This div background color is #337E5B.
.myBorderColor { border: 1px solid #337E5B; }
<div style="border:3px solid #337E5B">Div</div>
This div border color is #337E5B.
.myOpacity80 { color: #337E5B; opacity: 0.8; }
<p style="color:#337E5B;opacity:0.8;">80%</p>
Text with #337E5B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #337E5B;}
<p style="text-shadow: 3px 3px 1px #337E5B">Text here.</p>
This text has shadow with #337E5B color.
.textShadow {text-shadow: 3px 3px 1px #337E5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #337E5B, 5px 5px 20px red">Text here.</p>
This text has shadow with #337E5B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#337E5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#337E5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #337E5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #337E5B; -webkit-box-shadow: 1px 1px 3px 2px #337E5B; box-shadow: 1px 1px 3px 2px #337E5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #337E5B; -webkit-box-shadow: 1px 1px 3px 2px #337E5B; box-shadow:1px 1px 3px 2px #337E5B;">
Div content here</div>
This text has color #337E5B on black background.
This text has color #337E5B on white background.
This text has black color on #337E5B background.
This text has white color on #337E5B background.