HEX: #48487B
RGB: (72,72,123)
#48487B contains red, green and blue colors in about the same proportion. Web safe color of #48487B is #333366 (or #336).
#48487B color RGB value is (72,72,123).
RGB: (72,72,123) (28%,28%,48%)
R 72 of 255 = 28%
G 72 of 255 = 28%
B 123 of 255 = 48%
R + G + B ~ 35%. #48487B is quite dark color.
R + G + B =
72 + 72 + 123 = 267 (100%)
R 72 of 267 ~ 26.97%
G 72 of 267 ~ 26.97%
B 123 of 267 ~ 46.07%
#48487B color CMYK value is (41,41,0,52).
CMYK: (41,41,0,52) C41M41Y0K52 (41%,41%,0%,52%) (0.41/0.41/0.00/0.52)
48 | 48 | 7B | |
---|---|---|---|
RGB | 72 | 72 | 123 |
HSL | 240° | 26.15% | 38.24% |
HSB/HSV | 240° | 41.46% | 48.24% |
CMYK | 41.46% | 41.46% | 0.00% |
51.76% |
HEX | 48 | 48 | 7B |
Decimal | 72 | 72 | 123 |
Binary | 1001000 | 1001000 | 1111011 |
Octal | 110 | 110 | 173 |
Examples of css and html codes for elements with #48487B color. Also use rgb(72,72,123) instead hex code.
.myTextColor { color: #48487B; }
<p style="color:#48487B">This sample text font color is #48487B.</p>
This text font color is #48487B.
.myBgColor { background-color: #48487B; }
<div style="background-color:#48487B">Inner text</div>
This div background color is #48487B.
.myBorderColor { border: 1px solid #48487B; }
<div style="border:3px solid #48487B">Div</div>
This div border color is #48487B.
.myOpacity80 { color: #48487B; opacity: 0.8; }
<p style="color:#48487B;opacity:0.8;">80%</p>
Text with #48487B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48487B;}
<p style="text-shadow: 3px 3px 1px #48487B">Text here.</p>
This text has shadow with #48487B color.
.textShadow {text-shadow: 3px 3px 1px #48487B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48487B, 5px 5px 20px red">Text here.</p>
This text has shadow with #48487B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48487B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48487B, Direction=45, Strength=4)">Text</p>
This text has shadow with #48487B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48487B; -webkit-box-shadow: 1px 1px 3px 2px #48487B; box-shadow: 1px 1px 3px 2px #48487B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48487B; -webkit-box-shadow: 1px 1px 3px 2px #48487B; box-shadow:1px 1px 3px 2px #48487B;">
Div content here</div>
This text has color #48487B on black background.
This text has color #48487B on white background.
This text has black color on #48487B background.
This text has white color on #48487B background.