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