HEX: #4C396A
RGB: (76,57,106)
#4C396A contains red, green and blue colors in about the same proportion. Web safe color of #4C396A is #333366 (or #336).
#4C396A color RGB value is (76,57,106).
RGB: (76,57,106) (30%,22%,42%)
R 76 of 255 = 30%
G 57 of 255 = 22%
B 106 of 255 = 42%
R + G + B ~ 31%. #4C396A is quite dark color.
R + G + B =
76 + 57 + 106 = 239 (100%)
R 76 of 239 ~ 31.8%
G 57 of 239 ~ 23.85%
B 106 of 239 ~ 44.35%
#4C396A color CMYK value is (28,46,0,58).
CMYK: (28,46,0,58) C28M46Y0K58 (28%,46%,0%,58%) (0.28/0.46/0.00/0.58)
4C | 39 | 6A | |
---|---|---|---|
RGB | 76 | 57 | 106 |
HSL | 263° | 30.06% | 31.96% |
HSB/HSV | 263° | 46.23% | 41.57% |
CMYK | 28.30% | 46.23% | 0.00% |
58.43% |
HEX | 4C | 39 | 6A |
Decimal | 76 | 57 | 106 |
Binary | 1001100 | 111001 | 1101010 |
Octal | 114 | 71 | 152 |
Examples of css and html codes for elements with #4C396A color. Also use rgb(76,57,106) instead hex code.
.myTextColor { color: #4C396A; }
<p style="color:#4C396A">This sample text font color is #4C396A.</p>
This text font color is #4C396A.
.myBgColor { background-color: #4C396A; }
<div style="background-color:#4C396A">Inner text</div>
This div background color is #4C396A.
.myBorderColor { border: 1px solid #4C396A; }
<div style="border:3px solid #4C396A">Div</div>
This div border color is #4C396A.
.myOpacity80 { color: #4C396A; opacity: 0.8; }
<p style="color:#4C396A;opacity:0.8;">80%</p>
Text with #4C396A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C396A;}
<p style="text-shadow: 3px 3px 1px #4C396A">Text here.</p>
This text has shadow with #4C396A color.
.textShadow {text-shadow: 3px 3px 1px #4C396A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C396A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C396A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C396A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C396A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C396A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C396A; -webkit-box-shadow: 1px 1px 3px 2px #4C396A; box-shadow: 1px 1px 3px 2px #4C396A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C396A; -webkit-box-shadow: 1px 1px 3px 2px #4C396A; box-shadow:1px 1px 3px 2px #4C396A;">
Div content here</div>
This text has color #4C396A on black background.
This text has color #4C396A on white background.
This text has black color on #4C396A background.
This text has white color on #4C396A background.