HEX: #481978
RGB: (72,25,120)
#481978 contains mainly red and blue colors. Web safe color of #481978 is #330066 (or #306).
#481978 color RGB value is (72,25,120).
RGB: (72,25,120) (28%,10%,47%)
R 72 of 255 = 28%
G 25 of 255 = 10%
B 120 of 255 = 47%
R + G + B ~ 28%. #481978 is quite dark color.
R + G + B =
72 + 25 + 120 = 217 (100%)
R 72 of 217 ~ 33.18%
G 25 of 217 ~ 11.52%
B 120 of 217 ~ 55.3%
#481978 color CMYK value is (40,79,0,53).
CMYK: (40,79,0,53) C40M79Y0K53 (40%,79%,0%,53%) (0.40/0.79/0.00/0.53)
48 | 19 | 78 | |
---|---|---|---|
RGB | 72 | 25 | 120 |
HSL | 270° | 65.52% | 28.43% |
HSB/HSV | 270° | 79.17% | 47.06% |
CMYK | 40.00% | 79.17% | 0.00% |
52.94% |
HEX | 48 | 19 | 78 |
Decimal | 72 | 25 | 120 |
Binary | 1001000 | 11001 | 1111000 |
Octal | 110 | 31 | 170 |
Examples of css and html codes for elements with #481978 color. Also use rgb(72,25,120) instead hex code.
.myTextColor { color: #481978; }
<p style="color:#481978">This sample text font color is #481978.</p>
This text font color is #481978.
.myBgColor { background-color: #481978; }
<div style="background-color:#481978">Inner text</div>
This div background color is #481978.
.myBorderColor { border: 1px solid #481978; }
<div style="border:3px solid #481978">Div</div>
This div border color is #481978.
.myOpacity80 { color: #481978; opacity: 0.8; }
<p style="color:#481978;opacity:0.8;">80%</p>
Text with #481978 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #481978;}
<p style="text-shadow: 3px 3px 1px #481978">Text here.</p>
This text has shadow with #481978 color.
.textShadow {text-shadow: 3px 3px 1px #481978, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #481978, 5px 5px 20px red">Text here.</p>
This text has shadow with #481978 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#481978, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#481978, Direction=45, Strength=4)">Text</p>
This text has shadow with #481978 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #481978; -webkit-box-shadow: 1px 1px 3px 2px #481978; box-shadow: 1px 1px 3px 2px #481978; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #481978; -webkit-box-shadow: 1px 1px 3px 2px #481978; box-shadow:1px 1px 3px 2px #481978;">
Div content here</div>
This text has color #481978 on black background.
This text has color #481978 on white background.
This text has black color on #481978 background.
This text has white color on #481978 background.