HEX: #335850
RGB: (51,88,80)
#335850 contains red, green and blue colors in about the same proportion. Web safe color of #335850 is #336666 (or #366).
#335850 color RGB value is (51,88,80).
RGB: (51,88,80) (20%,35%,31%)
R 51 of 255 = 20%
G 88 of 255 = 35%
B 80 of 255 = 31%
R + G + B ~ 29%. #335850 is quite dark color.
R + G + B =
51 + 88 + 80 = 219 (100%)
R 51 of 219 ~ 23.29%
G 88 of 219 ~ 40.18%
B 80 of 219 ~ 36.53%
#335850 color CMYK value is (42,0,9,65).
CMYK: (42,0,9,65) C42M0Y9K65 (42%,0%,9%,65%) (0.42/0.00/0.09/0.65)
33 | 58 | 50 | |
---|---|---|---|
RGB | 51 | 88 | 80 |
HSL | 167° | 26.62% | 27.25% |
HSB/HSV | 167° | 42.05% | 34.51% |
CMYK | 42.05% | 0.00% | 9.09% |
65.49% |
HEX | 33 | 58 | 50 |
Decimal | 51 | 88 | 80 |
Binary | 110011 | 1011000 | 1010000 |
Octal | 63 | 130 | 120 |
Examples of css and html codes for elements with #335850 color. Also use rgb(51,88,80) instead hex code.
.myTextColor { color: #335850; }
<p style="color:#335850">This sample text font color is #335850.</p>
This text font color is #335850.
.myBgColor { background-color: #335850; }
<div style="background-color:#335850">Inner text</div>
This div background color is #335850.
.myBorderColor { border: 1px solid #335850; }
<div style="border:3px solid #335850">Div</div>
This div border color is #335850.
.myOpacity80 { color: #335850; opacity: 0.8; }
<p style="color:#335850;opacity:0.8;">80%</p>
Text with #335850 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #335850;}
<p style="text-shadow: 3px 3px 1px #335850">Text here.</p>
This text has shadow with #335850 color.
.textShadow {text-shadow: 3px 3px 1px #335850, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #335850, 5px 5px 20px red">Text here.</p>
This text has shadow with #335850 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#335850, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#335850, Direction=45, Strength=4)">Text</p>
This text has shadow with #335850 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #335850; -webkit-box-shadow: 1px 1px 3px 2px #335850; box-shadow: 1px 1px 3px 2px #335850; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #335850; -webkit-box-shadow: 1px 1px 3px 2px #335850; box-shadow:1px 1px 3px 2px #335850;">
Div content here</div>
This text has color #335850 on black background.
This text has color #335850 on white background.
This text has black color on #335850 background.
This text has white color on #335850 background.