HEX: #48197C
RGB: (72,25,124)
#48197C contains mainly red and blue colors. Web safe color of #48197C is #330066 (or #306).
#48197C color RGB value is (72,25,124).
RGB: (72,25,124) (28%,10%,49%)
R 72 of 255 = 28%
G 25 of 255 = 10%
B 124 of 255 = 49%
R + G + B ~ 29%. #48197C is quite dark color.
R + G + B =
72 + 25 + 124 = 221 (100%)
R 72 of 221 ~ 32.58%
G 25 of 221 ~ 11.31%
B 124 of 221 ~ 56.11%
#48197C color CMYK value is (42,80,0,51).
CMYK: (42,80,0,51) C42M80Y0K51 (42%,80%,0%,51%) (0.42/0.80/0.00/0.51)
48 | 19 | 7C | |
---|---|---|---|
RGB | 72 | 25 | 124 |
HSL | 268° | 66.44% | 29.22% |
HSB/HSV | 268° | 79.84% | 48.63% |
CMYK | 41.94% | 79.84% | 0.00% |
51.37% |
HEX | 48 | 19 | 7C |
Decimal | 72 | 25 | 124 |
Binary | 1001000 | 11001 | 1111100 |
Octal | 110 | 31 | 174 |
Examples of css and html codes for elements with #48197C color. Also use rgb(72,25,124) instead hex code.
.myTextColor { color: #48197C; }
<p style="color:#48197C">This sample text font color is #48197C.</p>
This text font color is #48197C.
.myBgColor { background-color: #48197C; }
<div style="background-color:#48197C">Inner text</div>
This div background color is #48197C.
.myBorderColor { border: 1px solid #48197C; }
<div style="border:3px solid #48197C">Div</div>
This div border color is #48197C.
.myOpacity80 { color: #48197C; opacity: 0.8; }
<p style="color:#48197C;opacity:0.8;">80%</p>
Text with #48197C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48197C;}
<p style="text-shadow: 3px 3px 1px #48197C">Text here.</p>
This text has shadow with #48197C color.
.textShadow {text-shadow: 3px 3px 1px #48197C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48197C, 5px 5px 20px red">Text here.</p>
This text has shadow with #48197C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48197C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48197C, Direction=45, Strength=4)">Text</p>
This text has shadow with #48197C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48197C; -webkit-box-shadow: 1px 1px 3px 2px #48197C; box-shadow: 1px 1px 3px 2px #48197C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48197C; -webkit-box-shadow: 1px 1px 3px 2px #48197C; box-shadow:1px 1px 3px 2px #48197C;">
Div content here</div>
This text has color #48197C on black background.
This text has color #48197C on white background.
This text has black color on #48197C background.
This text has white color on #48197C background.