HEX: #48397A
RGB: (72,57,122)
#48397A contains mainly red and blue colors. Web safe color of #48397A is #333366 (or #336).
#48397A color RGB value is (72,57,122).
RGB: (72,57,122) (28%,22%,48%)
R 72 of 255 = 28%
G 57 of 255 = 22%
B 122 of 255 = 48%
R + G + B ~ 33%. #48397A is quite dark color.
R + G + B =
72 + 57 + 122 = 251 (100%)
R 72 of 251 ~ 28.69%
G 57 of 251 ~ 22.71%
B 122 of 251 ~ 48.61%
#48397A color CMYK value is (41,53,0,52).
CMYK: (41,53,0,52) C41M53Y0K52 (41%,53%,0%,52%) (0.41/0.53/0.00/0.52)
48 | 39 | 7A | |
---|---|---|---|
RGB | 72 | 57 | 122 |
HSL | 254° | 36.31% | 35.10% |
HSB/HSV | 254° | 53.28% | 47.84% |
CMYK | 40.98% | 53.28% | 0.00% |
52.16% |
HEX | 48 | 39 | 7A |
Decimal | 72 | 57 | 122 |
Binary | 1001000 | 111001 | 1111010 |
Octal | 110 | 71 | 172 |
Examples of css and html codes for elements with #48397A color. Also use rgb(72,57,122) instead hex code.
.myTextColor { color: #48397A; }
<p style="color:#48397A">This sample text font color is #48397A.</p>
This text font color is #48397A.
.myBgColor { background-color: #48397A; }
<div style="background-color:#48397A">Inner text</div>
This div background color is #48397A.
.myBorderColor { border: 1px solid #48397A; }
<div style="border:3px solid #48397A">Div</div>
This div border color is #48397A.
.myOpacity80 { color: #48397A; opacity: 0.8; }
<p style="color:#48397A;opacity:0.8;">80%</p>
Text with #48397A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48397A;}
<p style="text-shadow: 3px 3px 1px #48397A">Text here.</p>
This text has shadow with #48397A color.
.textShadow {text-shadow: 3px 3px 1px #48397A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48397A, 5px 5px 20px red">Text here.</p>
This text has shadow with #48397A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48397A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48397A, Direction=45, Strength=4)">Text</p>
This text has shadow with #48397A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48397A; -webkit-box-shadow: 1px 1px 3px 2px #48397A; box-shadow: 1px 1px 3px 2px #48397A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48397A; -webkit-box-shadow: 1px 1px 3px 2px #48397A; box-shadow:1px 1px 3px 2px #48397A;">
Div content here</div>
This text has color #48397A on black background.
This text has color #48397A on white background.
This text has black color on #48397A background.
This text has white color on #48397A background.