HEX: #480040
RGB: (72,0,64)
#480040 contains only red and blue colors. Web safe color of #480040 is #330033 (or #303).
#480040 color RGB value is (72,0,64).
RGB: (72,0,64)
(28%, 0%, 25%)
R 72 of 255 = 28%
G 0 of 255 = 0%
B 64 of 255 = 25%
R + G + B ~ 18%. #480040 is dark color.
R + G + B = 72 + 0 + 64 = 136 (100%)
R 72 of 136 ~ 52.94%
G 0 of 136 ~ 0%
B 64 of 136 ~ 47.06'%
#480040 color CMYK value is (0,100,11,72).
CMYK: (0,100,11,72)
C0M100Y11K72 (0%, 100%, 11%, 72%)
(0.00 / 1.00 / 0.11 / 0.72)
Color #480040 in popluar color models
48 | 00 | 40 | |
---|---|---|---|
RGB | 72 | 0 | 64 |
HSL | 307° | 100.00% | 14.12% |
HSB/HSV | 307° | 100.00% | 28.24% |
CMYK | 0.00% | 100.00% | 11.11% |
71.76% |
Color #480040 in popluar number systems.
HEX | 48 | 00 | 40 |
Decimal | 72 | 0 | 64 |
Binary | 1001000 | 0 | 1000000 |
Octal | 110 | 0 | 100 |
Shades of #480040
Tints of #480040
Examples of css and html codes for elements with #480040 color. Also use rgb(72,0,64) instead hex code.
.myTextColor { color: #480040; }
<p style="color:#480040">This sample text font color is #480040.</p>
This text font color is #480040.
.myBgColor { background-color: #480040; }
<div style="background-color:#480040">Inner text</div>
This div background color is #480040.
.myBorderColor { border: 1px solid #480040; }
<div style="border:3px solid #480040">Div</div>
This div border color is #480040.
.myOpacity80 { color: #480040; opacity: 0.8; }
<p style="color:#480040;opacity:0.8;">80%</p>
Text with #480040 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #480040;}
<p style="text-shadow: 3px 3px 1px #480040">Text here.</p>
This text has shadow with #480040 color.
.textShadow {text-shadow: 3px 3px 1px #480040', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #480040, 5px 5px 20px red">Text here.</p>
This text has shadow with #480040 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#480040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#480040, Direction=45, Strength=4)">Text</p>
This text has shadow with #480040 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #480040;
-webkit-box-shadow: 1px 1px 3px 2px #480040;
box-shadow: 1px 1px 3px 2px #480040;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #480040; -webkit-box-shadow: 1px 1px 3px 2px #480040; box-shadow:1px 1px 3px 2px #480040;">
Div content here
</div>
This text has color #480040 on black background.
This text has color #480040 on white background.
This text has black color on #480040 background.
This text has white color on #480040 background.
Complementary color for #hex is #B7FFBF.