HEX: #4B4998
RGB: (75,73,152)
#4B4998 contains mainly blue color. Web safe color of #4B4998 is #333399 (or #339).
#4B4998 color RGB value is (75,73,152).
RGB: (75,73,152) (29%,29%,60%)
R 75 of 255 = 29%
G 73 of 255 = 29%
B 152 of 255 = 60%
R + G + B ~ 39%. #4B4998 is quite dark color.
R + G + B =
75 + 73 + 152 = 300 (100%)
R 75 of 300 ~ 25%
G 73 of 300 ~ 24.33%
B 152 of 300 ~ 50.67%
#4B4998 color CMYK value is (51,52,0,40).
CMYK: (51,52,0,40) C51M52Y0K40 (51%,52%,0%,40%) (0.51/0.52/0.00/0.40)
4B | 49 | 98 | |
---|---|---|---|
RGB | 75 | 73 | 152 |
HSL | 242° | 35.11% | 44.12% |
HSB/HSV | 242° | 51.97% | 59.61% |
CMYK | 50.66% | 51.97% | 0.00% |
40.39% |
HEX | 4B | 49 | 98 |
Decimal | 75 | 73 | 152 |
Binary | 1001011 | 1001001 | 10011000 |
Octal | 113 | 111 | 230 |
Examples of css and html codes for elements with #4B4998 color. Also use rgb(75,73,152) instead hex code.
.myTextColor { color: #4B4998; }
<p style="color:#4B4998">This sample text font color is #4B4998.</p>
This text font color is #4B4998.
.myBgColor { background-color: #4B4998; }
<div style="background-color:#4B4998">Inner text</div>
This div background color is #4B4998.
.myBorderColor { border: 1px solid #4B4998; }
<div style="border:3px solid #4B4998">Div</div>
This div border color is #4B4998.
.myOpacity80 { color: #4B4998; opacity: 0.8; }
<p style="color:#4B4998;opacity:0.8;">80%</p>
Text with #4B4998 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B4998;}
<p style="text-shadow: 3px 3px 1px #4B4998">Text here.</p>
This text has shadow with #4B4998 color.
.textShadow {text-shadow: 3px 3px 1px #4B4998, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B4998, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B4998 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B4998, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B4998, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B4998 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B4998; -webkit-box-shadow: 1px 1px 3px 2px #4B4998; box-shadow: 1px 1px 3px 2px #4B4998; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B4998; -webkit-box-shadow: 1px 1px 3px 2px #4B4998; box-shadow:1px 1px 3px 2px #4B4998;">
Div content here</div>
This text has color #4B4998 on black background.
This text has color #4B4998 on white background.
This text has black color on #4B4998 background.
This text has white color on #4B4998 background.