HEX: #4C477B
RGB: (76,71,123)
#4C477B contains red, green and blue colors in about the same proportion. Web safe color of #4C477B is #333366 (or #336).
#4C477B color RGB value is (76,71,123).
RGB: (76,71,123) (30%,28%,48%)
R 76 of 255 = 30%
G 71 of 255 = 28%
B 123 of 255 = 48%
R + G + B ~ 35%. #4C477B is quite dark color.
R + G + B =
76 + 71 + 123 = 270 (100%)
R 76 of 270 ~ 28.15%
G 71 of 270 ~ 26.3%
B 123 of 270 ~ 45.56%
#4C477B color CMYK value is (38,42,0,52).
CMYK: (38,42,0,52) C38M42Y0K52 (38%,42%,0%,52%) (0.38/0.42/0.00/0.52)
4C | 47 | 7B | |
---|---|---|---|
RGB | 76 | 71 | 123 |
HSL | 246° | 26.80% | 38.04% |
HSB/HSV | 246° | 42.28% | 48.24% |
CMYK | 38.21% | 42.28% | 0.00% |
51.76% |
HEX | 4C | 47 | 7B |
Decimal | 76 | 71 | 123 |
Binary | 1001100 | 1000111 | 1111011 |
Octal | 114 | 107 | 173 |
Examples of css and html codes for elements with #4C477B color. Also use rgb(76,71,123) instead hex code.
.myTextColor { color: #4C477B; }
<p style="color:#4C477B">This sample text font color is #4C477B.</p>
This text font color is #4C477B.
.myBgColor { background-color: #4C477B; }
<div style="background-color:#4C477B">Inner text</div>
This div background color is #4C477B.
.myBorderColor { border: 1px solid #4C477B; }
<div style="border:3px solid #4C477B">Div</div>
This div border color is #4C477B.
.myOpacity80 { color: #4C477B; opacity: 0.8; }
<p style="color:#4C477B;opacity:0.8;">80%</p>
Text with #4C477B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C477B;}
<p style="text-shadow: 3px 3px 1px #4C477B">Text here.</p>
This text has shadow with #4C477B color.
.textShadow {text-shadow: 3px 3px 1px #4C477B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C477B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C477B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C477B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C477B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C477B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C477B; -webkit-box-shadow: 1px 1px 3px 2px #4C477B; box-shadow: 1px 1px 3px 2px #4C477B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C477B; -webkit-box-shadow: 1px 1px 3px 2px #4C477B; box-shadow:1px 1px 3px 2px #4C477B;">
Div content here</div>
This text has color #4C477B on black background.
This text has color #4C477B on white background.
This text has black color on #4C477B background.
This text has white color on #4C477B background.