HEX: #4F6AC7
RGB: (79,106,199)
#4F6AC7 contains mainly blue color. Web safe color of #4F6AC7 is #6666CC (or #66C).
#4F6AC7 color RGB value is (79,106,199).
RGB: (79,106,199) (31%,42%,78%)
R 79 of 255 = 31%
G 106 of 255 = 42%
B 199 of 255 = 78%
R + G + B ~ 50%. #4F6AC7 is middle color (not dark and not light).
R + G + B =
79 + 106 + 199 = 384 (100%)
R 79 of 384 ~ 20.57%
G 106 of 384 ~ 27.6%
B 199 of 384 ~ 51.82%
#4F6AC7 color CMYK value is (60,47,0,22).
CMYK: (60,47,0,22) C60M47Y0K22 (60%,47%,0%,22%) (0.60/0.47/0.00/0.22)
4F | 6A | C7 | |
---|---|---|---|
RGB | 79 | 106 | 199 |
HSL | 227° | 51.72% | 54.51% |
HSB/HSV | 227° | 60.30% | 78.04% |
CMYK | 60.30% | 46.73% | 0.00% |
21.96% |
HEX | 4F | 6A | C7 |
Decimal | 79 | 106 | 199 |
Binary | 1001111 | 1101010 | 11000111 |
Octal | 117 | 152 | 307 |
Examples of css and html codes for elements with #4F6AC7 color. Also use rgb(79,106,199) instead hex code.
.myTextColor { color: #4F6AC7; }
<p style="color:#4F6AC7">This sample text font color is #4F6AC7.</p>
This text font color is #4F6AC7.
.myBgColor { background-color: #4F6AC7; }
<div style="background-color:#4F6AC7">Inner text</div>
This div background color is #4F6AC7.
.myBorderColor { border: 1px solid #4F6AC7; }
<div style="border:3px solid #4F6AC7">Div</div>
This div border color is #4F6AC7.
.myOpacity80 { color: #4F6AC7; opacity: 0.8; }
<p style="color:#4F6AC7;opacity:0.8;">80%</p>
Text with #4F6AC7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F6AC7;}
<p style="text-shadow: 3px 3px 1px #4F6AC7">Text here.</p>
This text has shadow with #4F6AC7 color.
.textShadow {text-shadow: 3px 3px 1px #4F6AC7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F6AC7, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F6AC7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F6AC7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F6AC7, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F6AC7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F6AC7; -webkit-box-shadow: 1px 1px 3px 2px #4F6AC7; box-shadow: 1px 1px 3px 2px #4F6AC7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F6AC7; -webkit-box-shadow: 1px 1px 3px 2px #4F6AC7; box-shadow:1px 1px 3px 2px #4F6AC7;">
Div content here</div>
This text has color #4F6AC7 on black background.
This text has color #4F6AC7 on white background.
This text has black color on #4F6AC7 background.
This text has white color on #4F6AC7 background.