HEX: #396993
RGB: (57,105,147)
#396993 contains mainly green and blue colors. Web safe color of #396993 is #336699 (or #369).
#396993 color RGB value is (57,105,147).
RGB: (57,105,147) (22%,41%,58%)
R 57 of 255 = 22%
G 105 of 255 = 41%
B 147 of 255 = 58%
R + G + B ~ 40%. #396993 is middle color (not dark and not light).
R + G + B =
57 + 105 + 147 = 309 (100%)
R 57 of 309 ~ 18.45%
G 105 of 309 ~ 33.98%
B 147 of 309 ~ 47.57%
#396993 color CMYK value is (61,29,0,42).
CMYK: (61,29,0,42) C61M29Y0K42 (61%,29%,0%,42%) (0.61/0.29/0.00/0.42)
39 | 69 | 93 | |
---|---|---|---|
RGB | 57 | 105 | 147 |
HSL | 208° | 44.12% | 40.00% |
HSB/HSV | 208° | 61.22% | 57.65% |
CMYK | 61.22% | 28.57% | 0.00% |
42.35% |
HEX | 39 | 69 | 93 |
Decimal | 57 | 105 | 147 |
Binary | 111001 | 1101001 | 10010011 |
Octal | 71 | 151 | 223 |
Examples of css and html codes for elements with #396993 color. Also use rgb(57,105,147) instead hex code.
.myTextColor { color: #396993; }
<p style="color:#396993">This sample text font color is #396993.</p>
This text font color is #396993.
.myBgColor { background-color: #396993; }
<div style="background-color:#396993">Inner text</div>
This div background color is #396993.
.myBorderColor { border: 1px solid #396993; }
<div style="border:3px solid #396993">Div</div>
This div border color is #396993.
.myOpacity80 { color: #396993; opacity: 0.8; }
<p style="color:#396993;opacity:0.8;">80%</p>
Text with #396993 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #396993;}
<p style="text-shadow: 3px 3px 1px #396993">Text here.</p>
This text has shadow with #396993 color.
.textShadow {text-shadow: 3px 3px 1px #396993, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #396993, 5px 5px 20px red">Text here.</p>
This text has shadow with #396993 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#396993, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#396993, Direction=45, Strength=4)">Text</p>
This text has shadow with #396993 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #396993; -webkit-box-shadow: 1px 1px 3px 2px #396993; box-shadow: 1px 1px 3px 2px #396993; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #396993; -webkit-box-shadow: 1px 1px 3px 2px #396993; box-shadow:1px 1px 3px 2px #396993;">
Div content here</div>
This text has color #396993 on black background.
This text has color #396993 on white background.
This text has black color on #396993 background.
This text has white color on #396993 background.