HEX: #48238D
RGB: (72,35,141)
#48238D contains mainly blue color. Web safe color of #48238D is #333399 (or #339).
#48238D color RGB value is (72,35,141).
RGB: (72,35,141) (28%,14%,55%)
R 72 of 255 = 28%
G 35 of 255 = 14%
B 141 of 255 = 55%
R + G + B ~ 32%. #48238D is quite dark color.
R + G + B =
72 + 35 + 141 = 248 (100%)
R 72 of 248 ~ 29.03%
G 35 of 248 ~ 14.11%
B 141 of 248 ~ 56.85%
#48238D color CMYK value is (49,75,0,45).
CMYK: (49,75,0,45) C49M75Y0K45 (49%,75%,0%,45%) (0.49/0.75/0.00/0.45)
48 | 23 | 8D | |
---|---|---|---|
RGB | 72 | 35 | 141 |
HSL | 261° | 60.23% | 34.51% |
HSB/HSV | 261° | 75.18% | 55.29% |
CMYK | 48.94% | 75.18% | 0.00% |
44.71% |
HEX | 48 | 23 | 8D |
Decimal | 72 | 35 | 141 |
Binary | 1001000 | 100011 | 10001101 |
Octal | 110 | 43 | 215 |
Examples of css and html codes for elements with #48238D color. Also use rgb(72,35,141) instead hex code.
.myTextColor { color: #48238D; }
<p style="color:#48238D">This sample text font color is #48238D.</p>
This text font color is #48238D.
.myBgColor { background-color: #48238D; }
<div style="background-color:#48238D">Inner text</div>
This div background color is #48238D.
.myBorderColor { border: 1px solid #48238D; }
<div style="border:3px solid #48238D">Div</div>
This div border color is #48238D.
.myOpacity80 { color: #48238D; opacity: 0.8; }
<p style="color:#48238D;opacity:0.8;">80%</p>
Text with #48238D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48238D;}
<p style="text-shadow: 3px 3px 1px #48238D">Text here.</p>
This text has shadow with #48238D color.
.textShadow {text-shadow: 3px 3px 1px #48238D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48238D, 5px 5px 20px red">Text here.</p>
This text has shadow with #48238D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48238D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48238D, Direction=45, Strength=4)">Text</p>
This text has shadow with #48238D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48238D; -webkit-box-shadow: 1px 1px 3px 2px #48238D; box-shadow: 1px 1px 3px 2px #48238D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48238D; -webkit-box-shadow: 1px 1px 3px 2px #48238D; box-shadow:1px 1px 3px 2px #48238D;">
Div content here</div>
This text has color #48238D on black background.
This text has color #48238D on white background.
This text has black color on #48238D background.
This text has white color on #48238D background.