HEX: #4E417A
RGB: (78,65,122)
#4E417A contains red, green and blue colors in about the same proportion. Web safe color of #4E417A is #663366 (or #636).
#4E417A color RGB value is (78,65,122).
RGB: (78,65,122) (31%,25%,48%)
R 78 of 255 = 31%
G 65 of 255 = 25%
B 122 of 255 = 48%
R + G + B ~ 35%. #4E417A is quite dark color.
R + G + B =
78 + 65 + 122 = 265 (100%)
R 78 of 265 ~ 29.43%
G 65 of 265 ~ 24.53%
B 122 of 265 ~ 46.04%
#4E417A color CMYK value is (36,47,0,52).
CMYK: (36,47,0,52) C36M47Y0K52 (36%,47%,0%,52%) (0.36/0.47/0.00/0.52)
4E | 41 | 7A | |
---|---|---|---|
RGB | 78 | 65 | 122 |
HSL | 254° | 30.48% | 36.67% |
HSB/HSV | 254° | 46.72% | 47.84% |
CMYK | 36.07% | 46.72% | 0.00% |
52.16% |
HEX | 4E | 41 | 7A |
Decimal | 78 | 65 | 122 |
Binary | 1001110 | 1000001 | 1111010 |
Octal | 116 | 101 | 172 |
Examples of css and html codes for elements with #4E417A color. Also use rgb(78,65,122) instead hex code.
.myTextColor { color: #4E417A; }
<p style="color:#4E417A">This sample text font color is #4E417A.</p>
This text font color is #4E417A.
.myBgColor { background-color: #4E417A; }
<div style="background-color:#4E417A">Inner text</div>
This div background color is #4E417A.
.myBorderColor { border: 1px solid #4E417A; }
<div style="border:3px solid #4E417A">Div</div>
This div border color is #4E417A.
.myOpacity80 { color: #4E417A; opacity: 0.8; }
<p style="color:#4E417A;opacity:0.8;">80%</p>
Text with #4E417A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E417A;}
<p style="text-shadow: 3px 3px 1px #4E417A">Text here.</p>
This text has shadow with #4E417A color.
.textShadow {text-shadow: 3px 3px 1px #4E417A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E417A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E417A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E417A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E417A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E417A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E417A; -webkit-box-shadow: 1px 1px 3px 2px #4E417A; box-shadow: 1px 1px 3px 2px #4E417A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E417A; -webkit-box-shadow: 1px 1px 3px 2px #4E417A; box-shadow:1px 1px 3px 2px #4E417A;">
Div content here</div>
This text has color #4E417A on black background.
This text has color #4E417A on white background.
This text has black color on #4E417A background.
This text has white color on #4E417A background.