HEX: #4B508A
RGB: (75,80,138)
#4B508A contains mainly green and blue colors. Web safe color of #4B508A is #336699 (or #369).
#4B508A color RGB value is (75,80,138).
RGB: (75,80,138)
(29%, 31%, 54%)
R 75 of 255 = 29%
G 80 of 255 = 31%
B 138 of 255 = 54%
R + G + B ~ 38%. #4B508A is quite dark color.
R + G + B = 75 + 80 + 138 = 293 (100%)
R 75 of 293 ~ 25.6%
G 80 of 293 ~ 27.3%
B 138 of 293 ~ 47.1'%
#4B508A color CMYK value is (46,42,0,46).
CMYK: (46,42,0,46) C46M42Y0K46 (46%,42%,0%,46%) (0.46/0.42/0.00/0.46)
Color #4B508A in popluar color models
4B | 50 | 8A | |
---|---|---|---|
RGB | 75 | 80 | 138 |
HSL | 235° | 29.58% | 41.76% |
HSB/HSV | 235° | 45.65% | 54.12% |
CMYK | 45.65% | 42.03% | 0.00% |
45.88% |
Color #4B508A in popluar number systems.
HEX | 4B | 50 | 8A |
Decimal | 75 | 80 | 138 |
Binary | 1001011 | 1010000 | 10001010 |
Octal | 113 | 120 | 212 |
Shades of #4B508A
Tints of #4B508A
Examples of css and html codes for elements with #4B508A color. Also use rgb(75,80,138) instead hex code.
.myTextColor { color: #4B508A; }
<p style="color:#4B508A">This sample text font color is #4B508A.</p>
This text font color is #4B508A.
.myBgColor { background-color: #4B508A; }
<div style="background-color:#4B508A">Inner text</div>
This div background color is #4B508A.
.myBorderColor { border: 1px solid #4B508A; }
<div style="border:3px solid #4B508A">Div</div>
This div border color is #4B508A.
.myOpacity80 { color: #4B508A; opacity: 0.8; }
<p style="color:#4B508A;opacity:0.8;">80%</p>
Text with #4B508A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B508A;}
<p style="text-shadow: 3px 3px 1px #4B508A">Text here.</p>
This text has shadow with #4B508A color.
.textShadow {text-shadow: 3px 3px 1px #4B508A', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B508A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B508A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B508A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B508A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B508A and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #4B508A;
-webkit-box-shadow: 1px 1px 3px 2px #4B508A;
box-shadow: 1px 1px 3px 2px #4B508A;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #4B508A; -webkit-box-shadow: 1px 1px 3px 2px #4B508A; box-shadow:1px 1px 3px 2px #4B508A;">
Div content here
</div>
This text has color #4B508A on black background.
This text has color #4B508A on white background.
This text has black color on #4B508A background.
This text has white color on #4B508A background.
Complementary color for #hex is #B4AF75.