HEX: #4F7CE7
RGB: (79,124,231)
#4F7CE7 contains mainly blue color. Web safe color of #4F7CE7 is #6666FF (or #66F).
#4F7CE7 color RGB value is (79,124,231).
RGB: (79,124,231) (31%,49%,91%)
R 79 of 255 = 31%
G 124 of 255 = 49%
B 231 of 255 = 91%
R + G + B ~ 57%. #4F7CE7 is middle color (not dark and not light).
R + G + B =
79 + 124 + 231 = 434 (100%)
R 79 of 434 ~ 18.2%
G 124 of 434 ~ 28.57%
B 231 of 434 ~ 53.23%
#4F7CE7 color CMYK value is (66,46,0,9).
CMYK: (66,46,0,9) C66M46Y0K9 (66%,46%,0%,9%) (0.66/0.46/0.00/0.09)
4F | 7C | E7 | |
---|---|---|---|
RGB | 79 | 124 | 231 |
HSL | 222° | 76.00% | 60.78% |
HSB/HSV | 222° | 65.80% | 90.59% |
CMYK | 65.80% | 46.32% | 0.00% |
9.41% |
HEX | 4F | 7C | E7 |
Decimal | 79 | 124 | 231 |
Binary | 1001111 | 1111100 | 11100111 |
Octal | 117 | 174 | 347 |
Examples of css and html codes for elements with #4F7CE7 color. Also use rgb(79,124,231) instead hex code.
.myTextColor { color: #4F7CE7; }
<p style="color:#4F7CE7">This sample text font color is #4F7CE7.</p>
This text font color is #4F7CE7.
.myBgColor { background-color: #4F7CE7; }
<div style="background-color:#4F7CE7">Inner text</div>
This div background color is #4F7CE7.
.myBorderColor { border: 1px solid #4F7CE7; }
<div style="border:3px solid #4F7CE7">Div</div>
This div border color is #4F7CE7.
.myOpacity80 { color: #4F7CE7; opacity: 0.8; }
<p style="color:#4F7CE7;opacity:0.8;">80%</p>
Text with #4F7CE7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F7CE7;}
<p style="text-shadow: 3px 3px 1px #4F7CE7">Text here.</p>
This text has shadow with #4F7CE7 color.
.textShadow {text-shadow: 3px 3px 1px #4F7CE7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F7CE7, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F7CE7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F7CE7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F7CE7, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F7CE7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F7CE7; -webkit-box-shadow: 1px 1px 3px 2px #4F7CE7; box-shadow: 1px 1px 3px 2px #4F7CE7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F7CE7; -webkit-box-shadow: 1px 1px 3px 2px #4F7CE7; box-shadow:1px 1px 3px 2px #4F7CE7;">
Div content here</div>
This text has color #4F7CE7 on black background.
This text has color #4F7CE7 on white background.
This text has black color on #4F7CE7 background.
This text has white color on #4F7CE7 background.