HEX: #48218C
RGB: (72,33,140)
#48218C contains mainly blue color. Web safe color of #48218C is #333399 (or #339).
#48218C color RGB value is (72,33,140).
RGB: (72,33,140) (28%,13%,55%)
R 72 of 255 = 28%
G 33 of 255 = 13%
B 140 of 255 = 55%
R + G + B ~ 32%. #48218C is quite dark color.
R + G + B =
72 + 33 + 140 = 245 (100%)
R 72 of 245 ~ 29.39%
G 33 of 245 ~ 13.47%
B 140 of 245 ~ 57.14%
#48218C color CMYK value is (49,76,0,45).
CMYK: (49,76,0,45) C49M76Y0K45 (49%,76%,0%,45%) (0.49/0.76/0.00/0.45)
48 | 21 | 8C | |
---|---|---|---|
RGB | 72 | 33 | 140 |
HSL | 262° | 61.85% | 33.92% |
HSB/HSV | 262° | 76.43% | 54.90% |
CMYK | 48.57% | 76.43% | 0.00% |
45.10% |
HEX | 48 | 21 | 8C |
Decimal | 72 | 33 | 140 |
Binary | 1001000 | 100001 | 10001100 |
Octal | 110 | 41 | 214 |
Examples of css and html codes for elements with #48218C color. Also use rgb(72,33,140) instead hex code.
.myTextColor { color: #48218C; }
<p style="color:#48218C">This sample text font color is #48218C.</p>
This text font color is #48218C.
.myBgColor { background-color: #48218C; }
<div style="background-color:#48218C">Inner text</div>
This div background color is #48218C.
.myBorderColor { border: 1px solid #48218C; }
<div style="border:3px solid #48218C">Div</div>
This div border color is #48218C.
.myOpacity80 { color: #48218C; opacity: 0.8; }
<p style="color:#48218C;opacity:0.8;">80%</p>
Text with #48218C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48218C;}
<p style="text-shadow: 3px 3px 1px #48218C">Text here.</p>
This text has shadow with #48218C color.
.textShadow {text-shadow: 3px 3px 1px #48218C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48218C, 5px 5px 20px red">Text here.</p>
This text has shadow with #48218C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48218C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48218C, Direction=45, Strength=4)">Text</p>
This text has shadow with #48218C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48218C; -webkit-box-shadow: 1px 1px 3px 2px #48218C; box-shadow: 1px 1px 3px 2px #48218C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48218C; -webkit-box-shadow: 1px 1px 3px 2px #48218C; box-shadow:1px 1px 3px 2px #48218C;">
Div content here</div>
This text has color #48218C on black background.
This text has color #48218C on white background.
This text has black color on #48218C background.
This text has white color on #48218C background.