HEX: #4B417B
RGB: (75,65,123)
#4B417B contains red, green and blue colors in about the same proportion. Web safe color of #4B417B is #333366 (or #336).
#4B417B color RGB value is (75,65,123).
RGB: (75,65,123) (29%,25%,48%)
R 75 of 255 = 29%
G 65 of 255 = 25%
B 123 of 255 = 48%
R + G + B ~ 34%. #4B417B is quite dark color.
R + G + B =
75 + 65 + 123 = 263 (100%)
R 75 of 263 ~ 28.52%
G 65 of 263 ~ 24.71%
B 123 of 263 ~ 46.77%
#4B417B color CMYK value is (39,47,0,52).
CMYK: (39,47,0,52) C39M47Y0K52 (39%,47%,0%,52%) (0.39/0.47/0.00/0.52)
4B | 41 | 7B | |
---|---|---|---|
RGB | 75 | 65 | 123 |
HSL | 250° | 30.85% | 36.86% |
HSB/HSV | 250° | 47.15% | 48.24% |
CMYK | 39.02% | 47.15% | 0.00% |
51.76% |
HEX | 4B | 41 | 7B |
Decimal | 75 | 65 | 123 |
Binary | 1001011 | 1000001 | 1111011 |
Octal | 113 | 101 | 173 |
Examples of css and html codes for elements with #4B417B color. Also use rgb(75,65,123) instead hex code.
.myTextColor { color: #4B417B; }
<p style="color:#4B417B">This sample text font color is #4B417B.</p>
This text font color is #4B417B.
.myBgColor { background-color: #4B417B; }
<div style="background-color:#4B417B">Inner text</div>
This div background color is #4B417B.
.myBorderColor { border: 1px solid #4B417B; }
<div style="border:3px solid #4B417B">Div</div>
This div border color is #4B417B.
.myOpacity80 { color: #4B417B; opacity: 0.8; }
<p style="color:#4B417B;opacity:0.8;">80%</p>
Text with #4B417B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B417B;}
<p style="text-shadow: 3px 3px 1px #4B417B">Text here.</p>
This text has shadow with #4B417B color.
.textShadow {text-shadow: 3px 3px 1px #4B417B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B417B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B417B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B417B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B417B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B417B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B417B; -webkit-box-shadow: 1px 1px 3px 2px #4B417B; box-shadow: 1px 1px 3px 2px #4B417B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B417B; -webkit-box-shadow: 1px 1px 3px 2px #4B417B; box-shadow:1px 1px 3px 2px #4B417B;">
Div content here</div>
This text has color #4B417B on black background.
This text has color #4B417B on white background.
This text has black color on #4B417B background.
This text has white color on #4B417B background.