HEX: #48498B
RGB: (72,73,139)
#48498B contains mainly blue color. Web safe color of #48498B is #333399 (or #339).
#48498B color RGB value is (72,73,139).
RGB: (72,73,139) (28%,29%,55%)
R 72 of 255 = 28%
G 73 of 255 = 29%
B 139 of 255 = 55%
R + G + B ~ 37%. #48498B is quite dark color.
R + G + B =
72 + 73 + 139 = 284 (100%)
R 72 of 284 ~ 25.35%
G 73 of 284 ~ 25.7%
B 139 of 284 ~ 48.94%
#48498B color CMYK value is (48,47,0,45).
CMYK: (48,47,0,45) C48M47Y0K45 (48%,47%,0%,45%) (0.48/0.47/0.00/0.45)
48 | 49 | 8B | |
---|---|---|---|
RGB | 72 | 73 | 139 |
HSL | 239° | 31.75% | 41.37% |
HSB/HSV | 239° | 48.20% | 54.51% |
CMYK | 48.20% | 47.48% | 0.00% |
45.49% |
HEX | 48 | 49 | 8B |
Decimal | 72 | 73 | 139 |
Binary | 1001000 | 1001001 | 10001011 |
Octal | 110 | 111 | 213 |
Examples of css and html codes for elements with #48498B color. Also use rgb(72,73,139) instead hex code.
.myTextColor { color: #48498B; }
<p style="color:#48498B">This sample text font color is #48498B.</p>
This text font color is #48498B.
.myBgColor { background-color: #48498B; }
<div style="background-color:#48498B">Inner text</div>
This div background color is #48498B.
.myBorderColor { border: 1px solid #48498B; }
<div style="border:3px solid #48498B">Div</div>
This div border color is #48498B.
.myOpacity80 { color: #48498B; opacity: 0.8; }
<p style="color:#48498B;opacity:0.8;">80%</p>
Text with #48498B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48498B;}
<p style="text-shadow: 3px 3px 1px #48498B">Text here.</p>
This text has shadow with #48498B color.
.textShadow {text-shadow: 3px 3px 1px #48498B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48498B, 5px 5px 20px red">Text here.</p>
This text has shadow with #48498B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48498B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48498B, Direction=45, Strength=4)">Text</p>
This text has shadow with #48498B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48498B; -webkit-box-shadow: 1px 1px 3px 2px #48498B; box-shadow: 1px 1px 3px 2px #48498B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48498B; -webkit-box-shadow: 1px 1px 3px 2px #48498B; box-shadow:1px 1px 3px 2px #48498B;">
Div content here</div>
This text has color #48498B on black background.
This text has color #48498B on white background.
This text has black color on #48498B background.
This text has white color on #48498B background.