HEX: #316859
RGB: (49,104,89)
#316859 contains red, green and blue colors in about the same proportion. Web safe color of #316859 is #336666 (or #366).
#316859 color RGB value is (49,104,89).
RGB: (49,104,89) (19%,41%,35%)
R 49 of 255 = 19%
G 104 of 255 = 41%
B 89 of 255 = 35%
R + G + B ~ 32%. #316859 is quite dark color.
R + G + B =
49 + 104 + 89 = 242 (100%)
R 49 of 242 ~ 20.25%
G 104 of 242 ~ 42.98%
B 89 of 242 ~ 36.78%
#316859 color CMYK value is (53,0,14,59).
CMYK: (53,0,14,59) C53M0Y14K59 (53%,0%,14%,59%) (0.53/0.00/0.14/0.59)
31 | 68 | 59 | |
---|---|---|---|
RGB | 49 | 104 | 89 |
HSL | 164° | 35.95% | 30.00% |
HSB/HSV | 164° | 52.88% | 40.78% |
CMYK | 52.88% | 0.00% | 14.42% |
59.22% |
HEX | 31 | 68 | 59 |
Decimal | 49 | 104 | 89 |
Binary | 110001 | 1101000 | 1011001 |
Octal | 61 | 150 | 131 |
Examples of css and html codes for elements with #316859 color. Also use rgb(49,104,89) instead hex code.
.myTextColor { color: #316859; }
<p style="color:#316859">This sample text font color is #316859.</p>
This text font color is #316859.
.myBgColor { background-color: #316859; }
<div style="background-color:#316859">Inner text</div>
This div background color is #316859.
.myBorderColor { border: 1px solid #316859; }
<div style="border:3px solid #316859">Div</div>
This div border color is #316859.
.myOpacity80 { color: #316859; opacity: 0.8; }
<p style="color:#316859;opacity:0.8;">80%</p>
Text with #316859 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #316859;}
<p style="text-shadow: 3px 3px 1px #316859">Text here.</p>
This text has shadow with #316859 color.
.textShadow {text-shadow: 3px 3px 1px #316859, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #316859, 5px 5px 20px red">Text here.</p>
This text has shadow with #316859 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#316859, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#316859, Direction=45, Strength=4)">Text</p>
This text has shadow with #316859 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #316859; -webkit-box-shadow: 1px 1px 3px 2px #316859; box-shadow: 1px 1px 3px 2px #316859; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #316859; -webkit-box-shadow: 1px 1px 3px 2px #316859; box-shadow:1px 1px 3px 2px #316859;">
Div content here</div>
This text has color #316859 on black background.
This text has color #316859 on white background.
This text has black color on #316859 background.
This text has white color on #316859 background.