HEX: #48428B
RGB: (72,66,139)
#48428B contains mainly blue color. Web safe color of #48428B is #333399 (or #339).
#48428B color RGB value is (72,66,139).
RGB: (72,66,139) (28%,26%,55%)
R 72 of 255 = 28%
G 66 of 255 = 26%
B 139 of 255 = 55%
R + G + B ~ 36%. #48428B is quite dark color.
R + G + B =
72 + 66 + 139 = 277 (100%)
R 72 of 277 ~ 25.99%
G 66 of 277 ~ 23.83%
B 139 of 277 ~ 50.18%
#48428B color CMYK value is (48,53,0,45).
CMYK: (48,53,0,45) C48M53Y0K45 (48%,53%,0%,45%) (0.48/0.53/0.00/0.45)
48 | 42 | 8B | |
---|---|---|---|
RGB | 72 | 66 | 139 |
HSL | 245° | 35.61% | 40.20% |
HSB/HSV | 245° | 52.52% | 54.51% |
CMYK | 48.20% | 52.52% | 0.00% |
45.49% |
HEX | 48 | 42 | 8B |
Decimal | 72 | 66 | 139 |
Binary | 1001000 | 1000010 | 10001011 |
Octal | 110 | 102 | 213 |
Examples of css and html codes for elements with #48428B color. Also use rgb(72,66,139) instead hex code.
.myTextColor { color: #48428B; }
<p style="color:#48428B">This sample text font color is #48428B.</p>
This text font color is #48428B.
.myBgColor { background-color: #48428B; }
<div style="background-color:#48428B">Inner text</div>
This div background color is #48428B.
.myBorderColor { border: 1px solid #48428B; }
<div style="border:3px solid #48428B">Div</div>
This div border color is #48428B.
.myOpacity80 { color: #48428B; opacity: 0.8; }
<p style="color:#48428B;opacity:0.8;">80%</p>
Text with #48428B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48428B;}
<p style="text-shadow: 3px 3px 1px #48428B">Text here.</p>
This text has shadow with #48428B color.
.textShadow {text-shadow: 3px 3px 1px #48428B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48428B, 5px 5px 20px red">Text here.</p>
This text has shadow with #48428B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48428B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48428B, Direction=45, Strength=4)">Text</p>
This text has shadow with #48428B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48428B; -webkit-box-shadow: 1px 1px 3px 2px #48428B; box-shadow: 1px 1px 3px 2px #48428B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48428B; -webkit-box-shadow: 1px 1px 3px 2px #48428B; box-shadow:1px 1px 3px 2px #48428B;">
Div content here</div>
This text has color #48428B on black background.
This text has color #48428B on white background.
This text has black color on #48428B background.
This text has white color on #48428B background.