HEX: #8B0480
RGB: (139,4,128)
#8B0480 contains mainly red and blue colors. Web safe color of #8B0480 is #990066 (or #906).
#8B0480 color RGB value is (139,4,128).
RGB: (139,4,128)
(55%, 2%, 50%)
R 139 of 255 = 55%
G 4 of 255 = 2%
B 128 of 255 = 50%
R + G + B ~ 36%. #8B0480 is quite dark color.
R + G + B = 139 + 4 + 128 = 271 (100%)
R 139 of 271 ~ 51.29%
G 4 of 271 ~ 1.48%
B 128 of 271 ~ 47.23'%
#8B0480 color CMYK value is (0,97,8,45).
CMYK: (0,97,8,45) C0M97Y8K45 (0%,97%,8%,45%) (0.00/0.97/0.08/0.45)
Color #8B0480 in popluar color models
8B | 04 | 80 | |
---|---|---|---|
RGB | 139 | 4 | 128 |
HSL | 305° | 94.41% | 28.04% |
HSB/HSV | 305° | 97.12% | 54.51% |
CMYK | 0.00% | 97.12% | 7.91% |
45.49% |
Color #8B0480 in popluar number systems.
HEX | 8B | 04 | 80 |
Decimal | 139 | 4 | 128 |
Binary | 10001011 | 100 | 10000000 |
Octal | 213 | 4 | 200 |
Shades of #8B0480
Tints of #8B0480
Examples of css and html codes for elements with #8B0480 color. Also use rgb(139,4,128) instead hex code.
.myTextColor { color: #8B0480; }
<p style="color:#8B0480">This sample text font color is #8B0480.</p>
This text font color is #8B0480.
.myBgColor { background-color: #8B0480; }
<div style="background-color:#8B0480">Inner text</div>
This div background color is #8B0480.
.myBorderColor { border: 1px solid #8B0480; }
<div style="border:3px solid #8B0480">Div</div>
This div border color is #8B0480.
.myOpacity80 { color: #8B0480; opacity: 0.8; }
<p style="color:#8B0480;opacity:0.8;">80%</p>
Text with #8B0480 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B0480;}
<p style="text-shadow: 3px 3px 1px #8B0480">Text here.</p>
This text has shadow with #8B0480 color.
.textShadow {text-shadow: 3px 3px 1px #8B0480', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B0480, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B0480 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B0480, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B0480, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B0480 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #8B0480;
-webkit-box-shadow: 1px 1px 3px 2px #8B0480;
box-shadow: 1px 1px 3px 2px #8B0480;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #8B0480; -webkit-box-shadow: 1px 1px 3px 2px #8B0480; box-shadow:1px 1px 3px 2px #8B0480;">
Div content here
</div>
This text has color #8B0480 on black background.
This text has color #8B0480 on white background.
This text has black color on #8B0480 background.
This text has white color on #8B0480 background.
Complementary color for #hex is #74FB7F.