HEX: #5F7DAD
RGB: (95,125,173)
#5F7DAD contains mainly green and blue colors. Web safe color of #5F7DAD is #666699 (or #669).
#5F7DAD color RGB value is (95,125,173).
RGB: (95,125,173) (37%,49%,68%)
R 95 of 255 = 37%
G 125 of 255 = 49%
B 173 of 255 = 68%
R + G + B ~ 51%. #5F7DAD is middle color (not dark and not light).
R + G + B =
95 + 125 + 173 = 393 (100%)
R 95 of 393 ~ 24.17%
G 125 of 393 ~ 31.81%
B 173 of 393 ~ 44.02%
#5F7DAD color CMYK value is (45,28,0,32).
CMYK: (45,28,0,32) C45M28Y0K32 (45%,28%,0%,32%) (0.45/0.28/0.00/0.32)
5F | 7D | AD | |
---|---|---|---|
RGB | 95 | 125 | 173 |
HSL | 217° | 32.23% | 52.55% |
HSB/HSV | 217° | 45.09% | 67.84% |
CMYK | 45.09% | 27.75% | 0.00% |
32.16% |
HEX | 5F | 7D | AD |
Decimal | 95 | 125 | 173 |
Binary | 1011111 | 1111101 | 10101101 |
Octal | 137 | 175 | 255 |
Examples of css and html codes for elements with #5F7DAD color. Also use rgb(95,125,173) instead hex code.
.myTextColor { color: #5F7DAD; }
<p style="color:#5F7DAD">This sample text font color is #5F7DAD.</p>
This text font color is #5F7DAD.
.myBgColor { background-color: #5F7DAD; }
<div style="background-color:#5F7DAD">Inner text</div>
This div background color is #5F7DAD.
.myBorderColor { border: 1px solid #5F7DAD; }
<div style="border:3px solid #5F7DAD">Div</div>
This div border color is #5F7DAD.
.myOpacity80 { color: #5F7DAD; opacity: 0.8; }
<p style="color:#5F7DAD;opacity:0.8;">80%</p>
Text with #5F7DAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5F7DAD;}
<p style="text-shadow: 3px 3px 1px #5F7DAD">Text here.</p>
This text has shadow with #5F7DAD color.
.textShadow {text-shadow: 3px 3px 1px #5F7DAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5F7DAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #5F7DAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5F7DAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5F7DAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #5F7DAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5F7DAD; -webkit-box-shadow: 1px 1px 3px 2px #5F7DAD; box-shadow: 1px 1px 3px 2px #5F7DAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5F7DAD; -webkit-box-shadow: 1px 1px 3px 2px #5F7DAD; box-shadow:1px 1px 3px 2px #5F7DAD;">
Div content here</div>
This text has color #5F7DAD on black background.
This text has color #5F7DAD on white background.
This text has black color on #5F7DAD background.
This text has white color on #5F7DAD background.