HEX: #336B79
RGB: (51,107,121)
#336B79 contains mainly green and blue colors. Web safe color of #336B79 is #336666 (or #366).
#336B79 color RGB value is (51,107,121).
RGB: (51,107,121) (20%,42%,47%)
R 51 of 255 = 20%
G 107 of 255 = 42%
B 121 of 255 = 47%
R + G + B ~ 36%. #336B79 is quite dark color.
R + G + B =
51 + 107 + 121 = 279 (100%)
R 51 of 279 ~ 18.28%
G 107 of 279 ~ 38.35%
B 121 of 279 ~ 43.37%
#336B79 color CMYK value is (58,12,0,53).
CMYK: (58,12,0,53) C58M12Y0K53 (58%,12%,0%,53%) (0.58/0.12/0.00/0.53)
33 | 6B | 79 | |
---|---|---|---|
RGB | 51 | 107 | 121 |
HSL | 192° | 40.70% | 33.73% |
HSB/HSV | 192° | 57.85% | 47.45% |
CMYK | 57.85% | 11.57% | 0.00% |
52.55% |
HEX | 33 | 6B | 79 |
Decimal | 51 | 107 | 121 |
Binary | 110011 | 1101011 | 1111001 |
Octal | 63 | 153 | 171 |
Examples of css and html codes for elements with #336B79 color. Also use rgb(51,107,121) instead hex code.
.myTextColor { color: #336B79; }
<p style="color:#336B79">This sample text font color is #336B79.</p>
This text font color is #336B79.
.myBgColor { background-color: #336B79; }
<div style="background-color:#336B79">Inner text</div>
This div background color is #336B79.
.myBorderColor { border: 1px solid #336B79; }
<div style="border:3px solid #336B79">Div</div>
This div border color is #336B79.
.myOpacity80 { color: #336B79; opacity: 0.8; }
<p style="color:#336B79;opacity:0.8;">80%</p>
Text with #336B79 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #336B79;}
<p style="text-shadow: 3px 3px 1px #336B79">Text here.</p>
This text has shadow with #336B79 color.
.textShadow {text-shadow: 3px 3px 1px #336B79, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #336B79, 5px 5px 20px red">Text here.</p>
This text has shadow with #336B79 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#336B79, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#336B79, Direction=45, Strength=4)">Text</p>
This text has shadow with #336B79 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #336B79; -webkit-box-shadow: 1px 1px 3px 2px #336B79; box-shadow: 1px 1px 3px 2px #336B79; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #336B79; -webkit-box-shadow: 1px 1px 3px 2px #336B79; box-shadow:1px 1px 3px 2px #336B79;">
Div content here</div>
This text has color #336B79 on black background.
This text has color #336B79 on white background.
This text has black color on #336B79 background.
This text has white color on #336B79 background.