HEX: #4C579A
RGB: (76,87,154)
#4C579A contains mainly blue color. Web safe color of #4C579A is #336699 (or #369).
#4C579A color RGB value is (76,87,154).
RGB: (76,87,154) (30%,34%,60%)
R 76 of 255 = 30%
G 87 of 255 = 34%
B 154 of 255 = 60%
R + G + B ~ 41%. #4C579A is middle color (not dark and not light).
R + G + B =
76 + 87 + 154 = 317 (100%)
R 76 of 317 ~ 23.97%
G 87 of 317 ~ 27.44%
B 154 of 317 ~ 48.58%
#4C579A color CMYK value is (51,44,0,40).
CMYK: (51,44,0,40) C51M44Y0K40 (51%,44%,0%,40%) (0.51/0.44/0.00/0.40)
4C | 57 | 9A | |
---|---|---|---|
RGB | 76 | 87 | 154 |
HSL | 232° | 33.91% | 45.10% |
HSB/HSV | 232° | 50.65% | 60.39% |
CMYK | 50.65% | 43.51% | 0.00% |
39.61% |
HEX | 4C | 57 | 9A |
Decimal | 76 | 87 | 154 |
Binary | 1001100 | 1010111 | 10011010 |
Octal | 114 | 127 | 232 |
Examples of css and html codes for elements with #4C579A color. Also use rgb(76,87,154) instead hex code.
.myTextColor { color: #4C579A; }
<p style="color:#4C579A">This sample text font color is #4C579A.</p>
This text font color is #4C579A.
.myBgColor { background-color: #4C579A; }
<div style="background-color:#4C579A">Inner text</div>
This div background color is #4C579A.
.myBorderColor { border: 1px solid #4C579A; }
<div style="border:3px solid #4C579A">Div</div>
This div border color is #4C579A.
.myOpacity80 { color: #4C579A; opacity: 0.8; }
<p style="color:#4C579A;opacity:0.8;">80%</p>
Text with #4C579A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C579A;}
<p style="text-shadow: 3px 3px 1px #4C579A">Text here.</p>
This text has shadow with #4C579A color.
.textShadow {text-shadow: 3px 3px 1px #4C579A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C579A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C579A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C579A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C579A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C579A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C579A; -webkit-box-shadow: 1px 1px 3px 2px #4C579A; box-shadow: 1px 1px 3px 2px #4C579A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C579A; -webkit-box-shadow: 1px 1px 3px 2px #4C579A; box-shadow:1px 1px 3px 2px #4C579A;">
Div content here</div>
This text has color #4C579A on black background.
This text has color #4C579A on white background.
This text has black color on #4C579A background.
This text has white color on #4C579A background.