HEX: #4A78AE
RGB: (74,120,174)
#4A78AE contains mainly green and blue colors. Web safe color of #4A78AE is #336699 (or #369).
#4A78AE color RGB value is (74,120,174).
RGB: (74,120,174) (29%,47%,68%)
R 74 of 255 = 29%
G 120 of 255 = 47%
B 174 of 255 = 68%
R + G + B ~ 48%. #4A78AE is middle color (not dark and not light).
R + G + B =
74 + 120 + 174 = 368 (100%)
R 74 of 368 ~ 20.11%
G 120 of 368 ~ 32.61%
B 174 of 368 ~ 47.28%
#4A78AE color CMYK value is (57,31,0,32).
CMYK: (57,31,0,32) C57M31Y0K32 (57%,31%,0%,32%) (0.57/0.31/0.00/0.32)
4A | 78 | AE | |
---|---|---|---|
RGB | 74 | 120 | 174 |
HSL | 212° | 40.32% | 48.63% |
HSB/HSV | 212° | 57.47% | 68.24% |
CMYK | 57.47% | 31.03% | 0.00% |
31.76% |
HEX | 4A | 78 | AE |
Decimal | 74 | 120 | 174 |
Binary | 1001010 | 1111000 | 10101110 |
Octal | 112 | 170 | 256 |
Examples of css and html codes for elements with #4A78AE color. Also use rgb(74,120,174) instead hex code.
.myTextColor { color: #4A78AE; }
<p style="color:#4A78AE">This sample text font color is #4A78AE.</p>
This text font color is #4A78AE.
.myBgColor { background-color: #4A78AE; }
<div style="background-color:#4A78AE">Inner text</div>
This div background color is #4A78AE.
.myBorderColor { border: 1px solid #4A78AE; }
<div style="border:3px solid #4A78AE">Div</div>
This div border color is #4A78AE.
.myOpacity80 { color: #4A78AE; opacity: 0.8; }
<p style="color:#4A78AE;opacity:0.8;">80%</p>
Text with #4A78AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A78AE;}
<p style="text-shadow: 3px 3px 1px #4A78AE">Text here.</p>
This text has shadow with #4A78AE color.
.textShadow {text-shadow: 3px 3px 1px #4A78AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A78AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A78AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A78AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A78AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A78AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A78AE; -webkit-box-shadow: 1px 1px 3px 2px #4A78AE; box-shadow: 1px 1px 3px 2px #4A78AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A78AE; -webkit-box-shadow: 1px 1px 3px 2px #4A78AE; box-shadow:1px 1px 3px 2px #4A78AE;">
Div content here</div>
This text has color #4A78AE on black background.
This text has color #4A78AE on white background.
This text has black color on #4A78AE background.
This text has white color on #4A78AE background.