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