HEX: #4D467A
RGB: (77,70,122)
#4D467A contains red, green and blue colors in about the same proportion. Web safe color of #4D467A is #333366 (or #336).
#4D467A color RGB value is (77,70,122).
RGB: (77,70,122) (30%,27%,48%)
R 77 of 255 = 30%
G 70 of 255 = 27%
B 122 of 255 = 48%
R + G + B ~ 35%. #4D467A is quite dark color.
R + G + B =
77 + 70 + 122 = 269 (100%)
R 77 of 269 ~ 28.62%
G 70 of 269 ~ 26.02%
B 122 of 269 ~ 45.35%
#4D467A color CMYK value is (37,43,0,52).
CMYK: (37,43,0,52) C37M43Y0K52 (37%,43%,0%,52%) (0.37/0.43/0.00/0.52)
4D | 46 | 7A | |
---|---|---|---|
RGB | 77 | 70 | 122 |
HSL | 248° | 27.08% | 37.65% |
HSB/HSV | 248° | 42.62% | 47.84% |
CMYK | 36.89% | 42.62% | 0.00% |
52.16% |
HEX | 4D | 46 | 7A |
Decimal | 77 | 70 | 122 |
Binary | 1001101 | 1000110 | 1111010 |
Octal | 115 | 106 | 172 |
Examples of css and html codes for elements with #4D467A color. Also use rgb(77,70,122) instead hex code.
.myTextColor { color: #4D467A; }
<p style="color:#4D467A">This sample text font color is #4D467A.</p>
This text font color is #4D467A.
.myBgColor { background-color: #4D467A; }
<div style="background-color:#4D467A">Inner text</div>
This div background color is #4D467A.
.myBorderColor { border: 1px solid #4D467A; }
<div style="border:3px solid #4D467A">Div</div>
This div border color is #4D467A.
.myOpacity80 { color: #4D467A; opacity: 0.8; }
<p style="color:#4D467A;opacity:0.8;">80%</p>
Text with #4D467A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D467A;}
<p style="text-shadow: 3px 3px 1px #4D467A">Text here.</p>
This text has shadow with #4D467A color.
.textShadow {text-shadow: 3px 3px 1px #4D467A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D467A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D467A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D467A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D467A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D467A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D467A; -webkit-box-shadow: 1px 1px 3px 2px #4D467A; box-shadow: 1px 1px 3px 2px #4D467A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D467A; -webkit-box-shadow: 1px 1px 3px 2px #4D467A; box-shadow:1px 1px 3px 2px #4D467A;">
Div content here</div>
This text has color #4D467A on black background.
This text has color #4D467A on white background.
This text has black color on #4D467A background.
This text has white color on #4D467A background.