HEX: #4B5495
RGB: (75,84,149)
#4B5495 contains mainly blue color. Web safe color of #4B5495 is #336699 (or #369).
#4B5495 color RGB value is (75,84,149).
RGB: (75,84,149) (29%,33%,58%)
R 75 of 255 = 29%
G 84 of 255 = 33%
B 149 of 255 = 58%
R + G + B ~ 40%. #4B5495 is middle color (not dark and not light).
R + G + B =
75 + 84 + 149 = 308 (100%)
R 75 of 308 ~ 24.35%
G 84 of 308 ~ 27.27%
B 149 of 308 ~ 48.38%
#4B5495 color CMYK value is (50,44,0,42).
CMYK: (50,44,0,42) C50M44Y0K42 (50%,44%,0%,42%) (0.50/0.44/0.00/0.42)
4B | 54 | 95 | |
---|---|---|---|
RGB | 75 | 84 | 149 |
HSL | 233° | 33.04% | 43.92% |
HSB/HSV | 233° | 49.66% | 58.43% |
CMYK | 49.66% | 43.62% | 0.00% |
41.57% |
HEX | 4B | 54 | 95 |
Decimal | 75 | 84 | 149 |
Binary | 1001011 | 1010100 | 10010101 |
Octal | 113 | 124 | 225 |
Examples of css and html codes for elements with #4B5495 color. Also use rgb(75,84,149) instead hex code.
.myTextColor { color: #4B5495; }
<p style="color:#4B5495">This sample text font color is #4B5495.</p>
This text font color is #4B5495.
.myBgColor { background-color: #4B5495; }
<div style="background-color:#4B5495">Inner text</div>
This div background color is #4B5495.
.myBorderColor { border: 1px solid #4B5495; }
<div style="border:3px solid #4B5495">Div</div>
This div border color is #4B5495.
.myOpacity80 { color: #4B5495; opacity: 0.8; }
<p style="color:#4B5495;opacity:0.8;">80%</p>
Text with #4B5495 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B5495;}
<p style="text-shadow: 3px 3px 1px #4B5495">Text here.</p>
This text has shadow with #4B5495 color.
.textShadow {text-shadow: 3px 3px 1px #4B5495, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B5495, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B5495 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B5495, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B5495, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B5495 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B5495; -webkit-box-shadow: 1px 1px 3px 2px #4B5495; box-shadow: 1px 1px 3px 2px #4B5495; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B5495; -webkit-box-shadow: 1px 1px 3px 2px #4B5495; box-shadow:1px 1px 3px 2px #4B5495;">
Div content here</div>
This text has color #4B5495 on black background.
This text has color #4B5495 on white background.
This text has black color on #4B5495 background.
This text has white color on #4B5495 background.