HEX: #480792
RGB: (72,7,146)
#480792 contains mainly blue color. Web safe color of #480792 is #330099 (or #309).
#480792 color RGB value is (72,7,146).
RGB: (72,7,146) (28%,3%,57%)
R 72 of 255 = 28%
G 7 of 255 = 3%
B 146 of 255 = 57%
R + G + B ~ 29%. #480792 is quite dark color.
R + G + B =
72 + 7 + 146 = 225 (100%)
R 72 of 225 ~ 32%
G 7 of 225 ~ 3.11%
B 146 of 225 ~ 64.89%
#480792 color CMYK value is (51,95,0,43).
CMYK: (51,95,0,43) C51M95Y0K43 (51%,95%,0%,43%) (0.51/0.95/0.00/0.43)
48 | 07 | 92 | |
---|---|---|---|
RGB | 72 | 7 | 146 |
HSL | 268° | 90.85% | 30.00% |
HSB/HSV | 268° | 95.21% | 57.25% |
CMYK | 50.68% | 95.21% | 0.00% |
42.75% |
HEX | 48 | 07 | 92 |
Decimal | 72 | 7 | 146 |
Binary | 1001000 | 111 | 10010010 |
Octal | 110 | 7 | 222 |
Examples of css and html codes for elements with #480792 color. Also use rgb(72,7,146) instead hex code.
.myTextColor { color: #480792; }
<p style="color:#480792">This sample text font color is #480792.</p>
This text font color is #480792.
.myBgColor { background-color: #480792; }
<div style="background-color:#480792">Inner text</div>
This div background color is #480792.
.myBorderColor { border: 1px solid #480792; }
<div style="border:3px solid #480792">Div</div>
This div border color is #480792.
.myOpacity80 { color: #480792; opacity: 0.8; }
<p style="color:#480792;opacity:0.8;">80%</p>
Text with #480792 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #480792;}
<p style="text-shadow: 3px 3px 1px #480792">Text here.</p>
This text has shadow with #480792 color.
.textShadow {text-shadow: 3px 3px 1px #480792, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #480792, 5px 5px 20px red">Text here.</p>
This text has shadow with #480792 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#480792, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#480792, Direction=45, Strength=4)">Text</p>
This text has shadow with #480792 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #480792; -webkit-box-shadow: 1px 1px 3px 2px #480792; box-shadow: 1px 1px 3px 2px #480792; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #480792; -webkit-box-shadow: 1px 1px 3px 2px #480792; box-shadow:1px 1px 3px 2px #480792;">
Div content here</div>
This text has color #480792 on black background.
This text has color #480792 on white background.
This text has black color on #480792 background.
This text has white color on #480792 background.