HEX: #4F489C
RGB: (79,72,156)
#4F489C contains mainly blue color. Web safe color of #4F489C is #663399 (or #639).
#4F489C color RGB value is (79,72,156).
RGB: (79,72,156) (31%,28%,61%)
R 79 of 255 = 31%
G 72 of 255 = 28%
B 156 of 255 = 61%
R + G + B ~ 40%. #4F489C is middle color (not dark and not light).
R + G + B =
79 + 72 + 156 = 307 (100%)
R 79 of 307 ~ 25.73%
G 72 of 307 ~ 23.45%
B 156 of 307 ~ 50.81%
#4F489C color CMYK value is (49,54,0,39).
CMYK: (49,54,0,39) C49M54Y0K39 (49%,54%,0%,39%) (0.49/0.54/0.00/0.39)
4F | 48 | 9C | |
---|---|---|---|
RGB | 79 | 72 | 156 |
HSL | 245° | 36.84% | 44.71% |
HSB/HSV | 245° | 53.85% | 61.18% |
CMYK | 49.36% | 53.85% | 0.00% |
38.82% |
HEX | 4F | 48 | 9C |
Decimal | 79 | 72 | 156 |
Binary | 1001111 | 1001000 | 10011100 |
Octal | 117 | 110 | 234 |
Examples of css and html codes for elements with #4F489C color. Also use rgb(79,72,156) instead hex code.
.myTextColor { color: #4F489C; }
<p style="color:#4F489C">This sample text font color is #4F489C.</p>
This text font color is #4F489C.
.myBgColor { background-color: #4F489C; }
<div style="background-color:#4F489C">Inner text</div>
This div background color is #4F489C.
.myBorderColor { border: 1px solid #4F489C; }
<div style="border:3px solid #4F489C">Div</div>
This div border color is #4F489C.
.myOpacity80 { color: #4F489C; opacity: 0.8; }
<p style="color:#4F489C;opacity:0.8;">80%</p>
Text with #4F489C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F489C;}
<p style="text-shadow: 3px 3px 1px #4F489C">Text here.</p>
This text has shadow with #4F489C color.
.textShadow {text-shadow: 3px 3px 1px #4F489C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F489C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F489C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F489C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F489C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F489C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F489C; -webkit-box-shadow: 1px 1px 3px 2px #4F489C; box-shadow: 1px 1px 3px 2px #4F489C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F489C; -webkit-box-shadow: 1px 1px 3px 2px #4F489C; box-shadow:1px 1px 3px 2px #4F489C;">
Div content here</div>
This text has color #4F489C on black background.
This text has color #4F489C on white background.
This text has black color on #4F489C background.
This text has white color on #4F489C background.