HEX: #5F7DAB
RGB: (95,125,171)
#5F7DAB contains mainly green and blue colors. Web safe color of #5F7DAB is #666699 (or #669).
#5F7DAB color RGB value is (95,125,171).
RGB: (95,125,171) (37%,49%,67%)
R 95 of 255 = 37%
G 125 of 255 = 49%
B 171 of 255 = 67%
R + G + B ~ 51%. #5F7DAB is middle color (not dark and not light).
R + G + B =
95 + 125 + 171 = 391 (100%)
R 95 of 391 ~ 24.3%
G 125 of 391 ~ 31.97%
B 171 of 391 ~ 43.73%
#5F7DAB color CMYK value is (44,27,0,33).
CMYK: (44,27,0,33) C44M27Y0K33 (44%,27%,0%,33%) (0.44/0.27/0.00/0.33)
5F | 7D | AB | |
---|---|---|---|
RGB | 95 | 125 | 171 |
HSL | 216° | 31.15% | 52.16% |
HSB/HSV | 216° | 44.44% | 67.06% |
CMYK | 44.44% | 26.90% | 0.00% |
32.94% |
HEX | 5F | 7D | AB |
Decimal | 95 | 125 | 171 |
Binary | 1011111 | 1111101 | 10101011 |
Octal | 137 | 175 | 253 |
Examples of css and html codes for elements with #5F7DAB color. Also use rgb(95,125,171) instead hex code.
.myTextColor { color: #5F7DAB; }
<p style="color:#5F7DAB">This sample text font color is #5F7DAB.</p>
This text font color is #5F7DAB.
.myBgColor { background-color: #5F7DAB; }
<div style="background-color:#5F7DAB">Inner text</div>
This div background color is #5F7DAB.
.myBorderColor { border: 1px solid #5F7DAB; }
<div style="border:3px solid #5F7DAB">Div</div>
This div border color is #5F7DAB.
.myOpacity80 { color: #5F7DAB; opacity: 0.8; }
<p style="color:#5F7DAB;opacity:0.8;">80%</p>
Text with #5F7DAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5F7DAB;}
<p style="text-shadow: 3px 3px 1px #5F7DAB">Text here.</p>
This text has shadow with #5F7DAB color.
.textShadow {text-shadow: 3px 3px 1px #5F7DAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5F7DAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5F7DAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5F7DAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5F7DAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5F7DAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5F7DAB; -webkit-box-shadow: 1px 1px 3px 2px #5F7DAB; box-shadow: 1px 1px 3px 2px #5F7DAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5F7DAB; -webkit-box-shadow: 1px 1px 3px 2px #5F7DAB; box-shadow:1px 1px 3px 2px #5F7DAB;">
Div content here</div>
This text has color #5F7DAB on black background.
This text has color #5F7DAB on white background.
This text has black color on #5F7DAB background.
This text has white color on #5F7DAB background.