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