HEX: #4D20AA
RGB: (77,32,170)
#4D20AA contains mainly blue color. Web safe color of #4D20AA is #333399 (or #339).
#4D20AA color RGB value is (77,32,170).
RGB: (77,32,170) (30%,13%,67%)
R 77 of 255 = 30%
G 32 of 255 = 13%
B 170 of 255 = 67%
R + G + B ~ 37%. #4D20AA is quite dark color.
R + G + B =
77 + 32 + 170 = 279 (100%)
R 77 of 279 ~ 27.6%
G 32 of 279 ~ 11.47%
B 170 of 279 ~ 60.93%
#4D20AA color CMYK value is (55,81,0,33).
CMYK: (55,81,0,33) C55M81Y0K33 (55%,81%,0%,33%) (0.55/0.81/0.00/0.33)
4D | 20 | AA | |
---|---|---|---|
RGB | 77 | 32 | 170 |
HSL | 260° | 68.32% | 39.61% |
HSB/HSV | 260° | 81.18% | 66.67% |
CMYK | 54.71% | 81.18% | 0.00% |
33.33% |
HEX | 4D | 20 | AA |
Decimal | 77 | 32 | 170 |
Binary | 1001101 | 100000 | 10101010 |
Octal | 115 | 40 | 252 |
Examples of css and html codes for elements with #4D20AA color. Also use rgb(77,32,170) instead hex code.
.myTextColor { color: #4D20AA; }
<p style="color:#4D20AA">This sample text font color is #4D20AA.</p>
This text font color is #4D20AA.
.myBgColor { background-color: #4D20AA; }
<div style="background-color:#4D20AA">Inner text</div>
This div background color is #4D20AA.
.myBorderColor { border: 1px solid #4D20AA; }
<div style="border:3px solid #4D20AA">Div</div>
This div border color is #4D20AA.
.myOpacity80 { color: #4D20AA; opacity: 0.8; }
<p style="color:#4D20AA;opacity:0.8;">80%</p>
Text with #4D20AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D20AA;}
<p style="text-shadow: 3px 3px 1px #4D20AA">Text here.</p>
This text has shadow with #4D20AA color.
.textShadow {text-shadow: 3px 3px 1px #4D20AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D20AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D20AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D20AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D20AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D20AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D20AA; -webkit-box-shadow: 1px 1px 3px 2px #4D20AA; box-shadow: 1px 1px 3px 2px #4D20AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D20AA; -webkit-box-shadow: 1px 1px 3px 2px #4D20AA; box-shadow:1px 1px 3px 2px #4D20AA;">
Div content here</div>
This text has color #4D20AA on black background.
This text has color #4D20AA on white background.
This text has black color on #4D20AA background.
This text has white color on #4D20AA background.