HEX: #4F477E
RGB: (79,71,126)
#4F477E contains red, green and blue colors in about the same proportion. Web safe color of #4F477E is #663366 (or #636).
#4F477E color RGB value is (79,71,126).
RGB: (79,71,126) (31%,28%,49%)
R 79 of 255 = 31%
G 71 of 255 = 28%
B 126 of 255 = 49%
R + G + B ~ 36%. #4F477E is quite dark color.
R + G + B =
79 + 71 + 126 = 276 (100%)
R 79 of 276 ~ 28.62%
G 71 of 276 ~ 25.72%
B 126 of 276 ~ 45.65%
#4F477E color CMYK value is (37,44,0,51).
CMYK: (37,44,0,51) C37M44Y0K51 (37%,44%,0%,51%) (0.37/0.44/0.00/0.51)
4F | 47 | 7E | |
---|---|---|---|
RGB | 79 | 71 | 126 |
HSL | 249° | 27.92% | 38.63% |
HSB/HSV | 249° | 43.65% | 49.41% |
CMYK | 37.30% | 43.65% | 0.00% |
50.59% |
HEX | 4F | 47 | 7E |
Decimal | 79 | 71 | 126 |
Binary | 1001111 | 1000111 | 1111110 |
Octal | 117 | 107 | 176 |
Examples of css and html codes for elements with #4F477E color. Also use rgb(79,71,126) instead hex code.
.myTextColor { color: #4F477E; }
<p style="color:#4F477E">This sample text font color is #4F477E.</p>
This text font color is #4F477E.
.myBgColor { background-color: #4F477E; }
<div style="background-color:#4F477E">Inner text</div>
This div background color is #4F477E.
.myBorderColor { border: 1px solid #4F477E; }
<div style="border:3px solid #4F477E">Div</div>
This div border color is #4F477E.
.myOpacity80 { color: #4F477E; opacity: 0.8; }
<p style="color:#4F477E;opacity:0.8;">80%</p>
Text with #4F477E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F477E;}
<p style="text-shadow: 3px 3px 1px #4F477E">Text here.</p>
This text has shadow with #4F477E color.
.textShadow {text-shadow: 3px 3px 1px #4F477E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F477E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F477E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F477E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F477E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F477E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F477E; -webkit-box-shadow: 1px 1px 3px 2px #4F477E; box-shadow: 1px 1px 3px 2px #4F477E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F477E; -webkit-box-shadow: 1px 1px 3px 2px #4F477E; box-shadow:1px 1px 3px 2px #4F477E;">
Div content here</div>
This text has color #4F477E on black background.
This text has color #4F477E on white background.
This text has black color on #4F477E background.
This text has white color on #4F477E background.