HEX: #48506F
RGB: (72,80,111)
#48506F contains red, green and blue colors in about the same proportion. Web safe color of #48506F is #336666 (or #366).
#48506F color RGB value is (72,80,111).
RGB: (72,80,111) (28%,31%,44%)
R 72 of 255 = 28%
G 80 of 255 = 31%
B 111 of 255 = 44%
R + G + B ~ 34%. #48506F is quite dark color.
R + G + B =
72 + 80 + 111 = 263 (100%)
R 72 of 263 ~ 27.38%
G 80 of 263 ~ 30.42%
B 111 of 263 ~ 42.21%
#48506F color CMYK value is (35,28,0,56).
CMYK: (35,28,0,56) C35M28Y0K56 (35%,28%,0%,56%) (0.35/0.28/0.00/0.56)
48 | 50 | 6F | |
---|---|---|---|
RGB | 72 | 80 | 111 |
HSL | 228° | 21.31% | 35.88% |
HSB/HSV | 228° | 35.14% | 43.53% |
CMYK | 35.14% | 27.93% | 0.00% |
56.47% |
HEX | 48 | 50 | 6F |
Decimal | 72 | 80 | 111 |
Binary | 1001000 | 1010000 | 1101111 |
Octal | 110 | 120 | 157 |
Examples of css and html codes for elements with #48506F color. Also use rgb(72,80,111) instead hex code.
.myTextColor { color: #48506F; }
<p style="color:#48506F">This sample text font color is #48506F.</p>
This text font color is #48506F.
.myBgColor { background-color: #48506F; }
<div style="background-color:#48506F">Inner text</div>
This div background color is #48506F.
.myBorderColor { border: 1px solid #48506F; }
<div style="border:3px solid #48506F">Div</div>
This div border color is #48506F.
.myOpacity80 { color: #48506F; opacity: 0.8; }
<p style="color:#48506F;opacity:0.8;">80%</p>
Text with #48506F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48506F;}
<p style="text-shadow: 3px 3px 1px #48506F">Text here.</p>
This text has shadow with #48506F color.
.textShadow {text-shadow: 3px 3px 1px #48506F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48506F, 5px 5px 20px red">Text here.</p>
This text has shadow with #48506F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48506F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48506F, Direction=45, Strength=4)">Text</p>
This text has shadow with #48506F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48506F; -webkit-box-shadow: 1px 1px 3px 2px #48506F; box-shadow: 1px 1px 3px 2px #48506F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48506F; -webkit-box-shadow: 1px 1px 3px 2px #48506F; box-shadow:1px 1px 3px 2px #48506F;">
Div content here</div>
This text has color #48506F on black background.
This text has color #48506F on white background.
This text has black color on #48506F background.
This text has white color on #48506F background.