HEX: #48345B
RGB: (72,52,91)
#48345B contains red, green and blue colors in about the same proportion. Web safe color of #48345B is #333366 (or #336).
#48345B color RGB value is (72,52,91).
RGB: (72,52,91) (28%,20%,36%)
R 72 of 255 = 28%
G 52 of 255 = 20%
B 91 of 255 = 36%
R + G + B ~ 28%. #48345B is quite dark color.
R + G + B =
72 + 52 + 91 = 215 (100%)
R 72 of 215 ~ 33.49%
G 52 of 215 ~ 24.19%
B 91 of 215 ~ 42.33%
#48345B color CMYK value is (21,43,0,64).
CMYK: (21,43,0,64) C21M43Y0K64 (21%,43%,0%,64%) (0.21/0.43/0.00/0.64)
48 | 34 | 5B | |
---|---|---|---|
RGB | 72 | 52 | 91 |
HSL | 271° | 27.27% | 28.04% |
HSB/HSV | 271° | 42.86% | 35.69% |
CMYK | 20.88% | 42.86% | 0.00% |
64.31% |
HEX | 48 | 34 | 5B |
Decimal | 72 | 52 | 91 |
Binary | 1001000 | 110100 | 1011011 |
Octal | 110 | 64 | 133 |
Examples of css and html codes for elements with #48345B color. Also use rgb(72,52,91) instead hex code.
.myTextColor { color: #48345B; }
<p style="color:#48345B">This sample text font color is #48345B.</p>
This text font color is #48345B.
.myBgColor { background-color: #48345B; }
<div style="background-color:#48345B">Inner text</div>
This div background color is #48345B.
.myBorderColor { border: 1px solid #48345B; }
<div style="border:3px solid #48345B">Div</div>
This div border color is #48345B.
.myOpacity80 { color: #48345B; opacity: 0.8; }
<p style="color:#48345B;opacity:0.8;">80%</p>
Text with #48345B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #48345B;}
<p style="text-shadow: 3px 3px 1px #48345B">Text here.</p>
This text has shadow with #48345B color.
.textShadow {text-shadow: 3px 3px 1px #48345B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #48345B, 5px 5px 20px red">Text here.</p>
This text has shadow with #48345B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#48345B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#48345B, Direction=45, Strength=4)">Text</p>
This text has shadow with #48345B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #48345B; -webkit-box-shadow: 1px 1px 3px 2px #48345B; box-shadow: 1px 1px 3px 2px #48345B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #48345B; -webkit-box-shadow: 1px 1px 3px 2px #48345B; box-shadow:1px 1px 3px 2px #48345B;">
Div content here</div>
This text has color #48345B on black background.
This text has color #48345B on white background.
This text has black color on #48345B background.
This text has white color on #48345B background.