HEX: #4C486B
RGB: (76,72,107)
#4C486B contains red, green and blue colors in about the same proportion. Web safe color of #4C486B is #333366 (or #336).
#4C486B color RGB value is (76,72,107).
RGB: (76,72,107) (30%,28%,42%)
R 76 of 255 = 30%
G 72 of 255 = 28%
B 107 of 255 = 42%
R + G + B ~ 33%. #4C486B is quite dark color.
R + G + B =
76 + 72 + 107 = 255 (100%)
R 76 of 255 ~ 29.8%
G 72 of 255 ~ 28.24%
B 107 of 255 ~ 41.96%
#4C486B color CMYK value is (29,33,0,58).
CMYK: (29,33,0,58) C29M33Y0K58 (29%,33%,0%,58%) (0.29/0.33/0.00/0.58)
4C | 48 | 6B | |
---|---|---|---|
RGB | 76 | 72 | 107 |
HSL | 247° | 19.55% | 35.10% |
HSB/HSV | 247° | 32.71% | 41.96% |
CMYK | 28.97% | 32.71% | 0.00% |
58.04% |
HEX | 4C | 48 | 6B |
Decimal | 76 | 72 | 107 |
Binary | 1001100 | 1001000 | 1101011 |
Octal | 114 | 110 | 153 |
Examples of css and html codes for elements with #4C486B color. Also use rgb(76,72,107) instead hex code.
.myTextColor { color: #4C486B; }
<p style="color:#4C486B">This sample text font color is #4C486B.</p>
This text font color is #4C486B.
.myBgColor { background-color: #4C486B; }
<div style="background-color:#4C486B">Inner text</div>
This div background color is #4C486B.
.myBorderColor { border: 1px solid #4C486B; }
<div style="border:3px solid #4C486B">Div</div>
This div border color is #4C486B.
.myOpacity80 { color: #4C486B; opacity: 0.8; }
<p style="color:#4C486B;opacity:0.8;">80%</p>
Text with #4C486B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C486B;}
<p style="text-shadow: 3px 3px 1px #4C486B">Text here.</p>
This text has shadow with #4C486B color.
.textShadow {text-shadow: 3px 3px 1px #4C486B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C486B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C486B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C486B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C486B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C486B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C486B; -webkit-box-shadow: 1px 1px 3px 2px #4C486B; box-shadow: 1px 1px 3px 2px #4C486B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C486B; -webkit-box-shadow: 1px 1px 3px 2px #4C486B; box-shadow:1px 1px 3px 2px #4C486B;">
Div content here</div>
This text has color #4C486B on black background.
This text has color #4C486B on white background.
This text has black color on #4C486B background.
This text has white color on #4C486B background.