COLOR #5F7987

HEX: #5F7987
RGB: (95,121,135)

Color info

#5F7987 contains red, green and blue colors in about the same proportion. Web safe color of #5F7987 is #666699 (or #669).

RGB color model

#5F7987 color RGB value is (95,121,135).

  • red value is 95;
  • green value is 121;
  • blue value is 135.
RGB:
(95,121,135)
(37%,47%,53%)

RGB channels and saturation

R 95 of 255 = 37%
G 121 of 255 = 47%
B 135 of 255 = 53%

95
121
135

R + G + B ~ 46%. #5F7987 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
95 + 121 + 135 = 351 (100%)
R 95 of 351 ~ 27.07%
G 121 of 351 ~ 34.47%
B 135 of 351 ~ 38.46%

%27.07
%34.47
%38.46

CMYK color model

#5F7987 color CMYK value is (30,10,0,47).

  • cyan value is 29.63%
  • magenta value is 10.37%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(30,10,0,47)
C30M10Y0K47 
(30%,10%,0%,47%)
(0.30/0.10/0.00/0.47)	

CMYK percentages

%29.63
%10.37
%0
%47.06

Codes

Color #5F7987 in popluar color models

5F7987
RGB95121135
HSL201°17.39%45.10%
HSB/HSV201°29.63%52.94%
CMYK29.63%10.37%0.00%
47.06%

Color #5F7987 in popluar number systems.

HEX5F7987
Decimal95121135
Binary1011111111100110000111
Octal137171207

Shades and tints

Shades of #5F7987

#5F7987
(95,121,135)
#576E7B
(87,110,123)
#4F636F
(79,99,111)
#475863
(71,88,99)
#3F4D57
(63,77,87)
#37424B
(55,66,75)
#2F373F
(47,55,63)
#272C33
(39,44,51)
#1F2127
(31,33,39)
#17161B
(23,22,27)
#0F0B0F
(15,11,15)
#000000
(0,0,0)

Tints of #5F7987

#5F7987
(95,121,135)
#6D8591
(109,133,145)
#7B919B
(123,145,155)
#899DA5
(137,157,165)
#97A9AF
(151,169,175)
#A5B5B9
(165,181,185)
#B3C1C3
(179,193,195)
#C1CDCD
(193,205,205)
#CFD9D7
(207,217,215)
#DDE5E1
(221,229,225)
#EBF1EB
(235,241,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F7987 color. Also use rgb(95,121,135) instead hex code.

Text Font Color

.myTextColor { color: #5F7987; }

<p style="color:#5F7987">This sample text font color is #5F7987.</p>

This text font color is #5F7987.


Background Color

.myBgColor { background-color: #5F7987; }

<div style="background-color:#5F7987">Inner text</div>

This div background color is #5F7987.


Border color

.myBorderColor { border: 1px solid #5F7987; }

<div style="border:3px solid #5F7987">Div</div>

This div border color is #5F7987.


Opacity

.myOpacity80 { color: #5F7987; opacity: 0.8; }

<p style="color:#5F7987;opacity:0.8;">80%</p>

Text with #5F7987 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #5F7987;}

<p style="text-shadow: 3px 3px 1px #5F7987">Text here.</p>

This text has shadow with #5F7987 color.

.textShadow {text-shadow: 3px 3px 1px #5F7987, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #5F7987, 5px 5px 20px red">Text here.</p>

This text has shadow with #5F7987 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5F7987, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#5F7987, Direction=45, Strength=4)">Text</p>

This text has shadow with #5F7987 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #5F7987;
  -webkit-box-shadow:	1px 1px 3px 2px #5F7987;
  box-shadow:		1px 1px 3px 2px #5F7987;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5F7987;
-webkit-box-shadow: 1px 1px 3px 2px #5F7987;
box-shadow:1px 1px 3px 2px #5F7987;">
Div content here</div>
This div box has shadow with color #5F7987.

Preview

Color preview on black background

This text has color #5F7987 on black background.


Color preview on white background

This text has color #5F7987 on white background.



Black color preview on #5F7987 background

This text has black color on #5F7987 background.


White color preview on #5F7987 background

This text has white color on #5F7987 background.