HEX: #4E378D
RGB: (78,55,141)
#4E378D contains mainly blue color. Web safe color of #4E378D is #663399 (or #639).
#4E378D color RGB value is (78,55,141).
RGB: (78,55,141) (31%,22%,55%)
R 78 of 255 = 31%
G 55 of 255 = 22%
B 141 of 255 = 55%
R + G + B ~ 36%. #4E378D is quite dark color.
R + G + B =
78 + 55 + 141 = 274 (100%)
R 78 of 274 ~ 28.47%
G 55 of 274 ~ 20.07%
B 141 of 274 ~ 51.46%
#4E378D color CMYK value is (45,61,0,45).
CMYK: (45,61,0,45) C45M61Y0K45 (45%,61%,0%,45%) (0.45/0.61/0.00/0.45)
4E | 37 | 8D | |
---|---|---|---|
RGB | 78 | 55 | 141 |
HSL | 256° | 43.88% | 38.43% |
HSB/HSV | 256° | 60.99% | 55.29% |
CMYK | 44.68% | 60.99% | 0.00% |
44.71% |
HEX | 4E | 37 | 8D |
Decimal | 78 | 55 | 141 |
Binary | 1001110 | 110111 | 10001101 |
Octal | 116 | 67 | 215 |
Examples of css and html codes for elements with #4E378D color. Also use rgb(78,55,141) instead hex code.
.myTextColor { color: #4E378D; }
<p style="color:#4E378D">This sample text font color is #4E378D.</p>
This text font color is #4E378D.
.myBgColor { background-color: #4E378D; }
<div style="background-color:#4E378D">Inner text</div>
This div background color is #4E378D.
.myBorderColor { border: 1px solid #4E378D; }
<div style="border:3px solid #4E378D">Div</div>
This div border color is #4E378D.
.myOpacity80 { color: #4E378D; opacity: 0.8; }
<p style="color:#4E378D;opacity:0.8;">80%</p>
Text with #4E378D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E378D;}
<p style="text-shadow: 3px 3px 1px #4E378D">Text here.</p>
This text has shadow with #4E378D color.
.textShadow {text-shadow: 3px 3px 1px #4E378D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E378D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E378D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E378D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E378D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E378D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E378D; -webkit-box-shadow: 1px 1px 3px 2px #4E378D; box-shadow: 1px 1px 3px 2px #4E378D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E378D; -webkit-box-shadow: 1px 1px 3px 2px #4E378D; box-shadow:1px 1px 3px 2px #4E378D;">
Div content here</div>
This text has color #4E378D on black background.
This text has color #4E378D on white background.
This text has black color on #4E378D background.
This text has white color on #4E378D background.