HEX: #4C79DC
RGB: (76,121,220)
#4C79DC contains mainly blue color. Web safe color of #4C79DC is #3366CC (or #36C).
#4C79DC color RGB value is (76,121,220).
RGB: (76,121,220) (30%,47%,86%)
R 76 of 255 = 30%
G 121 of 255 = 47%
B 220 of 255 = 86%
R + G + B ~ 54%. #4C79DC is middle color (not dark and not light).
R + G + B =
76 + 121 + 220 = 417 (100%)
R 76 of 417 ~ 18.23%
G 121 of 417 ~ 29.02%
B 220 of 417 ~ 52.76%
#4C79DC color CMYK value is (65,45,0,14).
CMYK: (65,45,0,14) C65M45Y0K14 (65%,45%,0%,14%) (0.65/0.45/0.00/0.14)
4C | 79 | DC | |
---|---|---|---|
RGB | 76 | 121 | 220 |
HSL | 221° | 67.29% | 58.04% |
HSB/HSV | 221° | 65.45% | 86.27% |
CMYK | 65.45% | 45.00% | 0.00% |
13.73% |
HEX | 4C | 79 | DC |
Decimal | 76 | 121 | 220 |
Binary | 1001100 | 1111001 | 11011100 |
Octal | 114 | 171 | 334 |
Examples of css and html codes for elements with #4C79DC color. Also use rgb(76,121,220) instead hex code.
.myTextColor { color: #4C79DC; }
<p style="color:#4C79DC">This sample text font color is #4C79DC.</p>
This text font color is #4C79DC.
.myBgColor { background-color: #4C79DC; }
<div style="background-color:#4C79DC">Inner text</div>
This div background color is #4C79DC.
.myBorderColor { border: 1px solid #4C79DC; }
<div style="border:3px solid #4C79DC">Div</div>
This div border color is #4C79DC.
.myOpacity80 { color: #4C79DC; opacity: 0.8; }
<p style="color:#4C79DC;opacity:0.8;">80%</p>
Text with #4C79DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C79DC;}
<p style="text-shadow: 3px 3px 1px #4C79DC">Text here.</p>
This text has shadow with #4C79DC color.
.textShadow {text-shadow: 3px 3px 1px #4C79DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C79DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C79DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C79DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C79DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C79DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C79DC; -webkit-box-shadow: 1px 1px 3px 2px #4C79DC; box-shadow: 1px 1px 3px 2px #4C79DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C79DC; -webkit-box-shadow: 1px 1px 3px 2px #4C79DC; box-shadow:1px 1px 3px 2px #4C79DC;">
Div content here</div>
This text has color #4C79DC on black background.
This text has color #4C79DC on white background.
This text has black color on #4C79DC background.
This text has white color on #4C79DC background.