HEX: #481F7C
RGB: (72,31,124)
#481F7C contains mainly red and blue colors. Web safe color of #481F7C is #333366 (or #336).
#481F7C color RGB value is (72,31,124).
RGB: (72,31,124) (28%,12%,49%)
R 72 of 255 = 28%
G 31 of 255 = 12%
B 124 of 255 = 49%
R + G + B ~ 30%. #481F7C is quite dark color.
R + G + B =
72 + 31 + 124 = 227 (100%)
R 72 of 227 ~ 31.72%
G 31 of 227 ~ 13.66%
B 124 of 227 ~ 54.63%
#481F7C color CMYK value is (42,75,0,51).
CMYK: (42,75,0,51) C42M75Y0K51 (42%,75%,0%,51%) (0.42/0.75/0.00/0.51)
48 | 1F | 7C | |
---|---|---|---|
RGB | 72 | 31 | 124 |
HSL | 266° | 60.00% | 30.39% |
HSB/HSV | 266° | 75.00% | 48.63% |
CMYK | 41.94% | 75.00% | 0.00% |
51.37% |
HEX | 48 | 1F | 7C |
Decimal | 72 | 31 | 124 |
Binary | 1001000 | 11111 | 1111100 |
Octal | 110 | 37 | 174 |
Examples of css and html codes for elements with #481F7C color. Also use rgb(72,31,124) instead hex code.
.myTextColor { color: #481F7C; }
<p style="color:#481F7C">This sample text font color is #481F7C.</p>
This text font color is #481F7C.
.myBgColor { background-color: #481F7C; }
<div style="background-color:#481F7C">Inner text</div>
This div background color is #481F7C.
.myBorderColor { border: 1px solid #481F7C; }
<div style="border:3px solid #481F7C">Div</div>
This div border color is #481F7C.
.myOpacity80 { color: #481F7C; opacity: 0.8; }
<p style="color:#481F7C;opacity:0.8;">80%</p>
Text with #481F7C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #481F7C;}
<p style="text-shadow: 3px 3px 1px #481F7C">Text here.</p>
This text has shadow with #481F7C color.
.textShadow {text-shadow: 3px 3px 1px #481F7C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #481F7C, 5px 5px 20px red">Text here.</p>
This text has shadow with #481F7C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#481F7C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#481F7C, Direction=45, Strength=4)">Text</p>
This text has shadow with #481F7C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #481F7C; -webkit-box-shadow: 1px 1px 3px 2px #481F7C; box-shadow: 1px 1px 3px 2px #481F7C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #481F7C; -webkit-box-shadow: 1px 1px 3px 2px #481F7C; box-shadow:1px 1px 3px 2px #481F7C;">
Div content here</div>
This text has color #481F7C on black background.
This text has color #481F7C on white background.
This text has black color on #481F7C background.
This text has white color on #481F7C background.