HEX: #4A256D
RGB: (74,37,109)
#4A256D contains mainly red and blue colors. Web safe color of #4A256D is #333366 (or #336).
#4A256D color RGB value is (74,37,109).
RGB: (74,37,109) (29%,15%,43%)
R 74 of 255 = 29%
G 37 of 255 = 15%
B 109 of 255 = 43%
R + G + B ~ 29%. #4A256D is quite dark color.
R + G + B =
74 + 37 + 109 = 220 (100%)
R 74 of 220 ~ 33.64%
G 37 of 220 ~ 16.82%
B 109 of 220 ~ 49.55%
#4A256D color CMYK value is (32,66,0,57).
CMYK: (32,66,0,57) C32M66Y0K57 (32%,66%,0%,57%) (0.32/0.66/0.00/0.57)
4A | 25 | 6D | |
---|---|---|---|
RGB | 74 | 37 | 109 |
HSL | 271° | 49.32% | 28.63% |
HSB/HSV | 271° | 66.06% | 42.75% |
CMYK | 32.11% | 66.06% | 0.00% |
57.25% |
HEX | 4A | 25 | 6D |
Decimal | 74 | 37 | 109 |
Binary | 1001010 | 100101 | 1101101 |
Octal | 112 | 45 | 155 |
Examples of css and html codes for elements with #4A256D color. Also use rgb(74,37,109) instead hex code.
.myTextColor { color: #4A256D; }
<p style="color:#4A256D">This sample text font color is #4A256D.</p>
This text font color is #4A256D.
.myBgColor { background-color: #4A256D; }
<div style="background-color:#4A256D">Inner text</div>
This div background color is #4A256D.
.myBorderColor { border: 1px solid #4A256D; }
<div style="border:3px solid #4A256D">Div</div>
This div border color is #4A256D.
.myOpacity80 { color: #4A256D; opacity: 0.8; }
<p style="color:#4A256D;opacity:0.8;">80%</p>
Text with #4A256D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A256D;}
<p style="text-shadow: 3px 3px 1px #4A256D">Text here.</p>
This text has shadow with #4A256D color.
.textShadow {text-shadow: 3px 3px 1px #4A256D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A256D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A256D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A256D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A256D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A256D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A256D; -webkit-box-shadow: 1px 1px 3px 2px #4A256D; box-shadow: 1px 1px 3px 2px #4A256D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A256D; -webkit-box-shadow: 1px 1px 3px 2px #4A256D; box-shadow:1px 1px 3px 2px #4A256D;">
Div content here</div>
This text has color #4A256D on black background.
This text has color #4A256D on white background.
This text has black color on #4A256D background.
This text has white color on #4A256D background.