HEX: #4C3EAB
RGB: (76,62,171)
#4C3EAB contains mainly blue color. Web safe color of #4C3EAB is #333399 (or #339).
#4C3EAB color RGB value is (76,62,171).
RGB: (76,62,171) (30%,24%,67%)
R 76 of 255 = 30%
G 62 of 255 = 24%
B 171 of 255 = 67%
R + G + B ~ 40%. #4C3EAB is middle color (not dark and not light).
R + G + B =
76 + 62 + 171 = 309 (100%)
R 76 of 309 ~ 24.6%
G 62 of 309 ~ 20.06%
B 171 of 309 ~ 55.34%
#4C3EAB color CMYK value is (56,64,0,33).
CMYK: (56,64,0,33) C56M64Y0K33 (56%,64%,0%,33%) (0.56/0.64/0.00/0.33)
4C | 3E | AB | |
---|---|---|---|
RGB | 76 | 62 | 171 |
HSL | 248° | 46.78% | 45.69% |
HSB/HSV | 248° | 63.74% | 67.06% |
CMYK | 55.56% | 63.74% | 0.00% |
32.94% |
HEX | 4C | 3E | AB |
Decimal | 76 | 62 | 171 |
Binary | 1001100 | 111110 | 10101011 |
Octal | 114 | 76 | 253 |
Examples of css and html codes for elements with #4C3EAB color. Also use rgb(76,62,171) instead hex code.
.myTextColor { color: #4C3EAB; }
<p style="color:#4C3EAB">This sample text font color is #4C3EAB.</p>
This text font color is #4C3EAB.
.myBgColor { background-color: #4C3EAB; }
<div style="background-color:#4C3EAB">Inner text</div>
This div background color is #4C3EAB.
.myBorderColor { border: 1px solid #4C3EAB; }
<div style="border:3px solid #4C3EAB">Div</div>
This div border color is #4C3EAB.
.myOpacity80 { color: #4C3EAB; opacity: 0.8; }
<p style="color:#4C3EAB;opacity:0.8;">80%</p>
Text with #4C3EAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C3EAB;}
<p style="text-shadow: 3px 3px 1px #4C3EAB">Text here.</p>
This text has shadow with #4C3EAB color.
.textShadow {text-shadow: 3px 3px 1px #4C3EAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C3EAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C3EAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C3EAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C3EAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C3EAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C3EAB; -webkit-box-shadow: 1px 1px 3px 2px #4C3EAB; box-shadow: 1px 1px 3px 2px #4C3EAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C3EAB; -webkit-box-shadow: 1px 1px 3px 2px #4C3EAB; box-shadow:1px 1px 3px 2px #4C3EAB;">
Div content here</div>
This text has color #4C3EAB on black background.
This text has color #4C3EAB on white background.
This text has black color on #4C3EAB background.
This text has white color on #4C3EAB background.