HEX: #407EAB
RGB: (64,126,171)
#407EAB contains mainly green and blue colors. Web safe color of #407EAB is #336699 (or #369).
#407EAB color RGB value is (64,126,171).
RGB: (64,126,171) (25%,49%,67%)
R 64 of 255 = 25%
G 126 of 255 = 49%
B 171 of 255 = 67%
R + G + B ~ 47%. #407EAB is middle color (not dark and not light).
R + G + B =
64 + 126 + 171 = 361 (100%)
R 64 of 361 ~ 17.73%
G 126 of 361 ~ 34.9%
B 171 of 361 ~ 47.37%
#407EAB color CMYK value is (63,26,0,33).
CMYK: (63,26,0,33) C63M26Y0K33 (63%,26%,0%,33%) (0.63/0.26/0.00/0.33)
40 | 7E | AB | |
---|---|---|---|
RGB | 64 | 126 | 171 |
HSL | 205° | 45.53% | 46.08% |
HSB/HSV | 205° | 62.57% | 67.06% |
CMYK | 62.57% | 26.32% | 0.00% |
32.94% |
HEX | 40 | 7E | AB |
Decimal | 64 | 126 | 171 |
Binary | 1000000 | 1111110 | 10101011 |
Octal | 100 | 176 | 253 |
Examples of css and html codes for elements with #407EAB color. Also use rgb(64,126,171) instead hex code.
.myTextColor { color: #407EAB; }
<p style="color:#407EAB">This sample text font color is #407EAB.</p>
This text font color is #407EAB.
.myBgColor { background-color: #407EAB; }
<div style="background-color:#407EAB">Inner text</div>
This div background color is #407EAB.
.myBorderColor { border: 1px solid #407EAB; }
<div style="border:3px solid #407EAB">Div</div>
This div border color is #407EAB.
.myOpacity80 { color: #407EAB; opacity: 0.8; }
<p style="color:#407EAB;opacity:0.8;">80%</p>
Text with #407EAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #407EAB;}
<p style="text-shadow: 3px 3px 1px #407EAB">Text here.</p>
This text has shadow with #407EAB color.
.textShadow {text-shadow: 3px 3px 1px #407EAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #407EAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #407EAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#407EAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#407EAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #407EAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #407EAB; -webkit-box-shadow: 1px 1px 3px 2px #407EAB; box-shadow: 1px 1px 3px 2px #407EAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #407EAB; -webkit-box-shadow: 1px 1px 3px 2px #407EAB; box-shadow:1px 1px 3px 2px #407EAB;">
Div content here</div>
This text has color #407EAB on black background.
This text has color #407EAB on white background.
This text has black color on #407EAB background.
This text has white color on #407EAB background.