HEX: #4A74EC
RGB: (74,116,236)
#4A74EC contains mainly blue color. Web safe color of #4A74EC is #3366FF (or #36F).
#4A74EC color RGB value is (74,116,236).
RGB: (74,116,236) (29%,45%,93%)
R 74 of 255 = 29%
G 116 of 255 = 45%
B 236 of 255 = 93%
R + G + B ~ 56%. #4A74EC is middle color (not dark and not light).
R + G + B =
74 + 116 + 236 = 426 (100%)
R 74 of 426 ~ 17.37%
G 116 of 426 ~ 27.23%
B 236 of 426 ~ 55.4%
#4A74EC color CMYK value is (69,51,0,7).
CMYK: (69,51,0,7) C69M51Y0K7 (69%,51%,0%,7%) (0.69/0.51/0.00/0.07)
4A | 74 | EC | |
---|---|---|---|
RGB | 74 | 116 | 236 |
HSL | 224° | 81.00% | 60.78% |
HSB/HSV | 224° | 68.64% | 92.55% |
CMYK | 68.64% | 50.85% | 0.00% |
7.45% |
HEX | 4A | 74 | EC |
Decimal | 74 | 116 | 236 |
Binary | 1001010 | 1110100 | 11101100 |
Octal | 112 | 164 | 354 |
Examples of css and html codes for elements with #4A74EC color. Also use rgb(74,116,236) instead hex code.
.myTextColor { color: #4A74EC; }
<p style="color:#4A74EC">This sample text font color is #4A74EC.</p>
This text font color is #4A74EC.
.myBgColor { background-color: #4A74EC; }
<div style="background-color:#4A74EC">Inner text</div>
This div background color is #4A74EC.
.myBorderColor { border: 1px solid #4A74EC; }
<div style="border:3px solid #4A74EC">Div</div>
This div border color is #4A74EC.
.myOpacity80 { color: #4A74EC; opacity: 0.8; }
<p style="color:#4A74EC;opacity:0.8;">80%</p>
Text with #4A74EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A74EC;}
<p style="text-shadow: 3px 3px 1px #4A74EC">Text here.</p>
This text has shadow with #4A74EC color.
.textShadow {text-shadow: 3px 3px 1px #4A74EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A74EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A74EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A74EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A74EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A74EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A74EC; -webkit-box-shadow: 1px 1px 3px 2px #4A74EC; box-shadow: 1px 1px 3px 2px #4A74EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A74EC; -webkit-box-shadow: 1px 1px 3px 2px #4A74EC; box-shadow:1px 1px 3px 2px #4A74EC;">
Div content here</div>
This text has color #4A74EC on black background.
This text has color #4A74EC on white background.
This text has black color on #4A74EC background.
This text has white color on #4A74EC background.