HEX: #482480
RGB: (72,36,128)
#482480 contains mainly red and blue colors. Web safe color of #482480 is #333366 (or #336).
#482480 color RGB value is (72,36,128).
RGB: (72,36,128) (28%,14%,50%)
R 72 of 255 = 28%
G 36 of 255 = 14%
B 128 of 255 = 50%
R + G + B ~ 31%. #482480 is quite dark color.
R + G + B =
72 + 36 + 128 = 236 (100%)
R 72 of 236 ~ 30.51%
G 36 of 236 ~ 15.25%
B 128 of 236 ~ 54.24%
#482480 color CMYK value is (44,72,0,50).
CMYK: (44,72,0,50) C44M72Y0K50 (44%,72%,0%,50%) (0.44/0.72/0.00/0.50)
48 | 24 | 80 | |
---|---|---|---|
RGB | 72 | 36 | 128 |
HSL | 263° | 56.10% | 32.16% |
HSB/HSV | 263° | 71.88% | 50.20% |
CMYK | 43.75% | 71.88% | 0.00% |
49.80% |
HEX | 48 | 24 | 80 |
Decimal | 72 | 36 | 128 |
Binary | 1001000 | 100100 | 10000000 |
Octal | 110 | 44 | 200 |
Examples of css and html codes for elements with #482480 color. Also use rgb(72,36,128) instead hex code.
.myTextColor { color: #482480; }
<p style="color:#482480">This sample text font color is #482480.</p>
This text font color is #482480.
.myBgColor { background-color: #482480; }
<div style="background-color:#482480">Inner text</div>
This div background color is #482480.
.myBorderColor { border: 1px solid #482480; }
<div style="border:3px solid #482480">Div</div>
This div border color is #482480.
.myOpacity80 { color: #482480; opacity: 0.8; }
<p style="color:#482480;opacity:0.8;">80%</p>
Text with #482480 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #482480;}
<p style="text-shadow: 3px 3px 1px #482480">Text here.</p>
This text has shadow with #482480 color.
.textShadow {text-shadow: 3px 3px 1px #482480, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #482480, 5px 5px 20px red">Text here.</p>
This text has shadow with #482480 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#482480, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#482480, Direction=45, Strength=4)">Text</p>
This text has shadow with #482480 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #482480; -webkit-box-shadow: 1px 1px 3px 2px #482480; box-shadow: 1px 1px 3px 2px #482480; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #482480; -webkit-box-shadow: 1px 1px 3px 2px #482480; box-shadow:1px 1px 3px 2px #482480;">
Div content here</div>
This text has color #482480 on black background.
This text has color #482480 on white background.
This text has black color on #482480 background.
This text has white color on #482480 background.