HEX: #4A367C
RGB: (74,54,124)
#4A367C contains mainly red and blue colors. Web safe color of #4A367C is #333366 (or #336).
#4A367C color RGB value is (74,54,124).
RGB: (74,54,124) (29%,21%,49%)
R 74 of 255 = 29%
G 54 of 255 = 21%
B 124 of 255 = 49%
R + G + B ~ 33%. #4A367C is quite dark color.
R + G + B =
74 + 54 + 124 = 252 (100%)
R 74 of 252 ~ 29.37%
G 54 of 252 ~ 21.43%
B 124 of 252 ~ 49.21%
#4A367C color CMYK value is (40,56,0,51).
CMYK: (40,56,0,51) C40M56Y0K51 (40%,56%,0%,51%) (0.40/0.56/0.00/0.51)
4A | 36 | 7C | |
---|---|---|---|
RGB | 74 | 54 | 124 |
HSL | 257° | 39.33% | 34.90% |
HSB/HSV | 257° | 56.45% | 48.63% |
CMYK | 40.32% | 56.45% | 0.00% |
51.37% |
HEX | 4A | 36 | 7C |
Decimal | 74 | 54 | 124 |
Binary | 1001010 | 110110 | 1111100 |
Octal | 112 | 66 | 174 |
Examples of css and html codes for elements with #4A367C color. Also use rgb(74,54,124) instead hex code.
.myTextColor { color: #4A367C; }
<p style="color:#4A367C">This sample text font color is #4A367C.</p>
This text font color is #4A367C.
.myBgColor { background-color: #4A367C; }
<div style="background-color:#4A367C">Inner text</div>
This div background color is #4A367C.
.myBorderColor { border: 1px solid #4A367C; }
<div style="border:3px solid #4A367C">Div</div>
This div border color is #4A367C.
.myOpacity80 { color: #4A367C; opacity: 0.8; }
<p style="color:#4A367C;opacity:0.8;">80%</p>
Text with #4A367C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A367C;}
<p style="text-shadow: 3px 3px 1px #4A367C">Text here.</p>
This text has shadow with #4A367C color.
.textShadow {text-shadow: 3px 3px 1px #4A367C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A367C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A367C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A367C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A367C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A367C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A367C; -webkit-box-shadow: 1px 1px 3px 2px #4A367C; box-shadow: 1px 1px 3px 2px #4A367C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A367C; -webkit-box-shadow: 1px 1px 3px 2px #4A367C; box-shadow:1px 1px 3px 2px #4A367C;">
Div content here</div>
This text has color #4A367C on black background.
This text has color #4A367C on white background.
This text has black color on #4A367C background.
This text has white color on #4A367C background.