HEX: #48488E
RGB: (72,72,142)
#48488E contains mainly blue color. Web safe color of #48488E is #333399 (or #339).
#48488E color RGB value is (72,72,142).
RGB: (72,72,142) (28%,28%,56%)
R 72 of 255 = 28%
G 72 of 255 = 28%
B 142 of 255 = 56%
R + G + B ~ 37%. #48488E is quite dark color.
R + G + B =
72 + 72 + 142 = 286 (100%)
R 72 of 286 ~ 25.17%
G 72 of 286 ~ 25.17%
B 142 of 286 ~ 49.65%
#48488E color CMYK value is (49,49,0,44).
CMYK: (49,49,0,44) C49M49Y0K44 (49%,49%,0%,44%) (0.49/0.49/0.00/0.44)
48 | 48 | 8E | |
---|---|---|---|
RGB | 72 | 72 | 142 |
HSL | 240° | 32.71% | 41.96% |
HSB/HSV | 240° | 49.30% | 55.69% |
CMYK | 49.30% | 49.30% | 0.00% |
44.31% |
HEX | 48 | 48 | 8E |
Decimal | 72 | 72 | 142 |
Binary | 1001000 | 1001000 | 10001110 |
Octal | 110 | 110 | 216 |
Examples of css and html codes for elements with #48488E color. Also use rgb(72,72,142) instead hex code.
.myTextColor { color: #48488E; }
<p style="color:#48488E">This sample text font color is #48488E.</p>
This text font color is #48488E.
.myBgColor { background-color: #48488E; }
<div style="background-color:#48488E">Inner text</div>
This div background color is #48488E.
.myBorderColor { border: 1px solid #48488E; }
<div style="border:3px solid #48488E">Div</div>
This div border color is #48488E.
.myOpacity80 { color: #48488E; opacity: 0.8; }
<p style="color:#48488E;opacity:0.8;">80%</p>
Text with #48488E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48488E;}
<p style="text-shadow: 3px 3px 1px #48488E">Text here.</p>
This text has shadow with #48488E color.
.textShadow {text-shadow: 3px 3px 1px #48488E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48488E, 5px 5px 20px red">Text here.</p>
This text has shadow with #48488E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48488E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48488E, Direction=45, Strength=4)">Text</p>
This text has shadow with #48488E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48488E; -webkit-box-shadow: 1px 1px 3px 2px #48488E; box-shadow: 1px 1px 3px 2px #48488E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48488E; -webkit-box-shadow: 1px 1px 3px 2px #48488E; box-shadow:1px 1px 3px 2px #48488E;">
Div content here</div>
This text has color #48488E on black background.
This text has color #48488E on white background.
This text has black color on #48488E background.
This text has white color on #48488E background.