HEX: #481F85
RGB: (72,31,133)
#481F85 contains mainly blue color. Web safe color of #481F85 is #333399 (or #339).
#481F85 color RGB value is (72,31,133).
RGB: (72,31,133) (28%,12%,52%)
R 72 of 255 = 28%
G 31 of 255 = 12%
B 133 of 255 = 52%
R + G + B ~ 31%. #481F85 is quite dark color.
R + G + B =
72 + 31 + 133 = 236 (100%)
R 72 of 236 ~ 30.51%
G 31 of 236 ~ 13.14%
B 133 of 236 ~ 56.36%
#481F85 color CMYK value is (46,77,0,48).
CMYK: (46,77,0,48) C46M77Y0K48 (46%,77%,0%,48%) (0.46/0.77/0.00/0.48)
48 | 1F | 85 | |
---|---|---|---|
RGB | 72 | 31 | 133 |
HSL | 264° | 62.20% | 32.16% |
HSB/HSV | 264° | 76.69% | 52.16% |
CMYK | 45.86% | 76.69% | 0.00% |
47.84% |
HEX | 48 | 1F | 85 |
Decimal | 72 | 31 | 133 |
Binary | 1001000 | 11111 | 10000101 |
Octal | 110 | 37 | 205 |
Examples of css and html codes for elements with #481F85 color. Also use rgb(72,31,133) instead hex code.
.myTextColor { color: #481F85; }
<p style="color:#481F85">This sample text font color is #481F85.</p>
This text font color is #481F85.
.myBgColor { background-color: #481F85; }
<div style="background-color:#481F85">Inner text</div>
This div background color is #481F85.
.myBorderColor { border: 1px solid #481F85; }
<div style="border:3px solid #481F85">Div</div>
This div border color is #481F85.
.myOpacity80 { color: #481F85; opacity: 0.8; }
<p style="color:#481F85;opacity:0.8;">80%</p>
Text with #481F85 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #481F85;}
<p style="text-shadow: 3px 3px 1px #481F85">Text here.</p>
This text has shadow with #481F85 color.
.textShadow {text-shadow: 3px 3px 1px #481F85, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #481F85, 5px 5px 20px red">Text here.</p>
This text has shadow with #481F85 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#481F85, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#481F85, Direction=45, Strength=4)">Text</p>
This text has shadow with #481F85 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #481F85; -webkit-box-shadow: 1px 1px 3px 2px #481F85; box-shadow: 1px 1px 3px 2px #481F85; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #481F85; -webkit-box-shadow: 1px 1px 3px 2px #481F85; box-shadow:1px 1px 3px 2px #481F85;">
Div content here</div>
This text has color #481F85 on black background.
This text has color #481F85 on white background.
This text has black color on #481F85 background.
This text has white color on #481F85 background.