HEX: #4E38AD
RGB: (78,56,173)
#4E38AD contains mainly blue color. Web safe color of #4E38AD is #663399 (or #639).
#4E38AD color RGB value is (78,56,173).
RGB: (78,56,173) (31%,22%,68%)
R 78 of 255 = 31%
G 56 of 255 = 22%
B 173 of 255 = 68%
R + G + B ~ 40%. #4E38AD is middle color (not dark and not light).
R + G + B =
78 + 56 + 173 = 307 (100%)
R 78 of 307 ~ 25.41%
G 56 of 307 ~ 18.24%
B 173 of 307 ~ 56.35%
#4E38AD color CMYK value is (55,68,0,32).
CMYK: (55,68,0,32) C55M68Y0K32 (55%,68%,0%,32%) (0.55/0.68/0.00/0.32)
4E | 38 | AD | |
---|---|---|---|
RGB | 78 | 56 | 173 |
HSL | 251° | 51.09% | 44.90% |
HSB/HSV | 251° | 67.63% | 67.84% |
CMYK | 54.91% | 67.63% | 0.00% |
32.16% |
HEX | 4E | 38 | AD |
Decimal | 78 | 56 | 173 |
Binary | 1001110 | 111000 | 10101101 |
Octal | 116 | 70 | 255 |
Examples of css and html codes for elements with #4E38AD color. Also use rgb(78,56,173) instead hex code.
.myTextColor { color: #4E38AD; }
<p style="color:#4E38AD">This sample text font color is #4E38AD.</p>
This text font color is #4E38AD.
.myBgColor { background-color: #4E38AD; }
<div style="background-color:#4E38AD">Inner text</div>
This div background color is #4E38AD.
.myBorderColor { border: 1px solid #4E38AD; }
<div style="border:3px solid #4E38AD">Div</div>
This div border color is #4E38AD.
.myOpacity80 { color: #4E38AD; opacity: 0.8; }
<p style="color:#4E38AD;opacity:0.8;">80%</p>
Text with #4E38AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E38AD;}
<p style="text-shadow: 3px 3px 1px #4E38AD">Text here.</p>
This text has shadow with #4E38AD color.
.textShadow {text-shadow: 3px 3px 1px #4E38AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E38AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E38AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E38AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E38AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E38AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E38AD; -webkit-box-shadow: 1px 1px 3px 2px #4E38AD; box-shadow: 1px 1px 3px 2px #4E38AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E38AD; -webkit-box-shadow: 1px 1px 3px 2px #4E38AD; box-shadow:1px 1px 3px 2px #4E38AD;">
Div content here</div>
This text has color #4E38AD on black background.
This text has color #4E38AD on white background.
This text has black color on #4E38AD background.
This text has white color on #4E38AD background.