HEX: #4B5F7B
RGB: (75,95,123)
#4B5F7B contains red, green and blue colors in about the same proportion. Web safe color of #4B5F7B is #336666 (or #366).
#4B5F7B color RGB value is (75,95,123).
RGB: (75,95,123) (29%,37%,48%)
R 75 of 255 = 29%
G 95 of 255 = 37%
B 123 of 255 = 48%
R + G + B ~ 38%. #4B5F7B is quite dark color.
R + G + B =
75 + 95 + 123 = 293 (100%)
R 75 of 293 ~ 25.6%
G 95 of 293 ~ 32.42%
B 123 of 293 ~ 41.98%
#4B5F7B color CMYK value is (39,23,0,52).
CMYK: (39,23,0,52) C39M23Y0K52 (39%,23%,0%,52%) (0.39/0.23/0.00/0.52)
4B | 5F | 7B | |
---|---|---|---|
RGB | 75 | 95 | 123 |
HSL | 215° | 24.24% | 38.82% |
HSB/HSV | 215° | 39.02% | 48.24% |
CMYK | 39.02% | 22.76% | 0.00% |
51.76% |
HEX | 4B | 5F | 7B |
Decimal | 75 | 95 | 123 |
Binary | 1001011 | 1011111 | 1111011 |
Octal | 113 | 137 | 173 |
Examples of css and html codes for elements with #4B5F7B color. Also use rgb(75,95,123) instead hex code.
.myTextColor { color: #4B5F7B; }
<p style="color:#4B5F7B">This sample text font color is #4B5F7B.</p>
This text font color is #4B5F7B.
.myBgColor { background-color: #4B5F7B; }
<div style="background-color:#4B5F7B">Inner text</div>
This div background color is #4B5F7B.
.myBorderColor { border: 1px solid #4B5F7B; }
<div style="border:3px solid #4B5F7B">Div</div>
This div border color is #4B5F7B.
.myOpacity80 { color: #4B5F7B; opacity: 0.8; }
<p style="color:#4B5F7B;opacity:0.8;">80%</p>
Text with #4B5F7B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B5F7B;}
<p style="text-shadow: 3px 3px 1px #4B5F7B">Text here.</p>
This text has shadow with #4B5F7B color.
.textShadow {text-shadow: 3px 3px 1px #4B5F7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B5F7B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B5F7B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B5F7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B5F7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B5F7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B5F7B; -webkit-box-shadow: 1px 1px 3px 2px #4B5F7B; box-shadow: 1px 1px 3px 2px #4B5F7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B5F7B; -webkit-box-shadow: 1px 1px 3px 2px #4B5F7B; box-shadow:1px 1px 3px 2px #4B5F7B;">
Div content here</div>
This text has color #4B5F7B on black background.
This text has color #4B5F7B on white background.
This text has black color on #4B5F7B background.
This text has white color on #4B5F7B background.