HEX: #31497B
RGB: (49,73,123)
#31497B contains mainly green and blue colors. Web safe color of #31497B is #333366 (or #336).
#31497B color RGB value is (49,73,123).
RGB: (49,73,123)
(19%, 29%, 48%)
R 49 of 255 = 19%
G 73 of 255 = 29%
B 123 of 255 = 48%
R + G + B ~ 32%. #31497B is quite dark color.
R + G + B = 49 + 73 + 123 = 245 (100%)
R 49 of 245 ~ 20%
G 73 of 245 ~ 29.8%
B 123 of 245 ~ 50.2'%
#31497B color CMYK value is (60,41,0,52).
CMYK: (60,41,0,52)
C60M41Y0K52 (60%, 41%, 0%, 52%)
(0.60 / 0.41 / 0.00 / 0.52)
Color #31497B in popluar color models
31 | 49 | 7B | |
---|---|---|---|
RGB | 49 | 73 | 123 |
HSL | 221° | 43.02% | 33.73% |
HSB/HSV | 221° | 60.16% | 48.24% |
CMYK | 60.16% | 40.65% | 0.00% |
51.76% |
Color #31497B in popluar number systems.
HEX | 31 | 49 | 7B |
Decimal | 49 | 73 | 123 |
Binary | 110001 | 1001001 | 1111011 |
Octal | 61 | 111 | 173 |
Shades of #31497B
Tints of #31497B
Examples of css and html codes for elements with #31497B color. Also use rgb(49,73,123) instead hex code.
.myTextColor { color: #31497B; }
<p style="color:#31497B">This sample text font color is #31497B.</p>
This text font color is #31497B.
.myBgColor { background-color: #31497B; }
<div style="background-color:#31497B">Inner text</div>
This div background color is #31497B.
.myBorderColor { border: 1px solid #31497B; }
<div style="border:3px solid #31497B">Div</div>
This div border color is #31497B.
.myOpacity80 { color: #31497B; opacity: 0.8; }
<p style="color:#31497B;opacity:0.8;">80%</p>
Text with #31497B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #31497B;}
<p style="text-shadow: 3px 3px 1px #31497B">Text here.</p>
This text has shadow with #31497B color.
.textShadow {text-shadow: 3px 3px 1px #31497B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #31497B, 5px 5px 20px red">Text here.</p>
This text has shadow with #31497B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#31497B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#31497B, Direction=45, Strength=4)">Text</p>
This text has shadow with #31497B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #31497B;
-webkit-box-shadow: 1px 1px 3px 2px #31497B;
box-shadow: 1px 1px 3px 2px #31497B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #31497B; -webkit-box-shadow: 1px 1px 3px 2px #31497B; box-shadow:1px 1px 3px 2px #31497B;">
Div content here
</div>
This text has color #31497B on black background.
This text has color #31497B on white background.
This text has black color on #31497B background.
This text has white color on #31497B background.
Complementary color for #hex is #CEB684.