HEX: #4B486E
RGB: (75,72,110)
#4B486E contains red, green and blue colors in about the same proportion. Web safe color of #4B486E is #333366 (or #336).
#4B486E color RGB value is (75,72,110).
RGB: (75,72,110) (29%,28%,43%)
R 75 of 255 = 29%
G 72 of 255 = 28%
B 110 of 255 = 43%
R + G + B ~ 33%. #4B486E is quite dark color.
R + G + B =
75 + 72 + 110 = 257 (100%)
R 75 of 257 ~ 29.18%
G 72 of 257 ~ 28.02%
B 110 of 257 ~ 42.8%
#4B486E color CMYK value is (32,35,0,57).
CMYK: (32,35,0,57) C32M35Y0K57 (32%,35%,0%,57%) (0.32/0.35/0.00/0.57)
4B | 48 | 6E | |
---|---|---|---|
RGB | 75 | 72 | 110 |
HSL | 245° | 20.88% | 35.69% |
HSB/HSV | 245° | 34.55% | 43.14% |
CMYK | 31.82% | 34.55% | 0.00% |
56.86% |
HEX | 4B | 48 | 6E |
Decimal | 75 | 72 | 110 |
Binary | 1001011 | 1001000 | 1101110 |
Octal | 113 | 110 | 156 |
Examples of css and html codes for elements with #4B486E color. Also use rgb(75,72,110) instead hex code.
.myTextColor { color: #4B486E; }
<p style="color:#4B486E">This sample text font color is #4B486E.</p>
This text font color is #4B486E.
.myBgColor { background-color: #4B486E; }
<div style="background-color:#4B486E">Inner text</div>
This div background color is #4B486E.
.myBorderColor { border: 1px solid #4B486E; }
<div style="border:3px solid #4B486E">Div</div>
This div border color is #4B486E.
.myOpacity80 { color: #4B486E; opacity: 0.8; }
<p style="color:#4B486E;opacity:0.8;">80%</p>
Text with #4B486E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B486E;}
<p style="text-shadow: 3px 3px 1px #4B486E">Text here.</p>
This text has shadow with #4B486E color.
.textShadow {text-shadow: 3px 3px 1px #4B486E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B486E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B486E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B486E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B486E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B486E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B486E; -webkit-box-shadow: 1px 1px 3px 2px #4B486E; box-shadow: 1px 1px 3px 2px #4B486E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B486E; -webkit-box-shadow: 1px 1px 3px 2px #4B486E; box-shadow:1px 1px 3px 2px #4B486E;">
Div content here</div>
This text has color #4B486E on black background.
This text has color #4B486E on white background.
This text has black color on #4B486E background.
This text has white color on #4B486E background.