HEX: #48137D
RGB: (72,19,125)
#48137D contains mainly red and blue colors. Web safe color of #48137D is #330066 (or #306).
#48137D color RGB value is (72,19,125).
RGB: (72,19,125) (28%,7%,49%)
R 72 of 255 = 28%
G 19 of 255 = 7%
B 125 of 255 = 49%
R + G + B ~ 28%. #48137D is quite dark color.
R + G + B =
72 + 19 + 125 = 216 (100%)
R 72 of 216 ~ 33.33%
G 19 of 216 ~ 8.8%
B 125 of 216 ~ 57.87%
#48137D color CMYK value is (42,85,0,51).
CMYK: (42,85,0,51) C42M85Y0K51 (42%,85%,0%,51%) (0.42/0.85/0.00/0.51)
48 | 13 | 7D | |
---|---|---|---|
RGB | 72 | 19 | 125 |
HSL | 270° | 73.61% | 28.24% |
HSB/HSV | 270° | 84.80% | 49.02% |
CMYK | 42.40% | 84.80% | 0.00% |
50.98% |
HEX | 48 | 13 | 7D |
Decimal | 72 | 19 | 125 |
Binary | 1001000 | 10011 | 1111101 |
Octal | 110 | 23 | 175 |
Examples of css and html codes for elements with #48137D color. Also use rgb(72,19,125) instead hex code.
.myTextColor { color: #48137D; }
<p style="color:#48137D">This sample text font color is #48137D.</p>
This text font color is #48137D.
.myBgColor { background-color: #48137D; }
<div style="background-color:#48137D">Inner text</div>
This div background color is #48137D.
.myBorderColor { border: 1px solid #48137D; }
<div style="border:3px solid #48137D">Div</div>
This div border color is #48137D.
.myOpacity80 { color: #48137D; opacity: 0.8; }
<p style="color:#48137D;opacity:0.8;">80%</p>
Text with #48137D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48137D;}
<p style="text-shadow: 3px 3px 1px #48137D">Text here.</p>
This text has shadow with #48137D color.
.textShadow {text-shadow: 3px 3px 1px #48137D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48137D, 5px 5px 20px red">Text here.</p>
This text has shadow with #48137D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48137D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48137D, Direction=45, Strength=4)">Text</p>
This text has shadow with #48137D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48137D; -webkit-box-shadow: 1px 1px 3px 2px #48137D; box-shadow: 1px 1px 3px 2px #48137D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48137D; -webkit-box-shadow: 1px 1px 3px 2px #48137D; box-shadow:1px 1px 3px 2px #48137D;">
Div content here</div>
This text has color #48137D on black background.
This text has color #48137D on white background.
This text has black color on #48137D background.
This text has white color on #48137D background.