COLOR #5F6A8B

HEX: #5F6A8B
RGB: (95,106,139)

Color info

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

RGB color model

#5F6A8B color RGB value is (95,106,139).

  • red value is 95;
  • green value is 106;
  • blue value is 139.
RGB:
(95,106,139)
(37%,42%,55%)

RGB channels and saturation

R 95 of 255 = 37%
G 106 of 255 = 42%
B 139 of 255 = 55%

95
106
139

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

Portions of RGB colors in percentages

R + G + B =
95 + 106 + 139 = 340 (100%)
R 95 of 340 ~ 27.94%
G 106 of 340 ~ 31.18%
B 139 of 340 ~ 40.88%

%27.94
%31.18
%40.88

CMYK color model

#5F6A8B color CMYK value is (32,24,0,45).

  • cyan value is 31.65%
  • magenta value is 23.74%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(32,24,0,45)
C32M24Y0K45 
(32%,24%,0%,45%)
(0.32/0.24/0.00/0.45)	

CMYK percentages

%31.65
%23.74
%0
%45.49

Codes

Color #5F6A8B in popluar color models

5F6A8B
RGB95106139
HSL225°18.80%45.88%
HSB/HSV225°31.65%54.51%
CMYK31.65%23.74%0.00%
45.49%

Color #5F6A8B in popluar number systems.

HEX5F6A8B
Decimal95106139
Binary1011111110101010001011
Octal137152213

Shades and tints

Shades of #5F6A8B

#5F6A8B
(95,106,139)
#57617F
(87,97,127)
#4F5873
(79,88,115)
#474F67
(71,79,103)
#3F465B
(63,70,91)
#373D4F
(55,61,79)
#2F3443
(47,52,67)
#272B37
(39,43,55)
#1F222B
(31,34,43)
#17191F
(23,25,31)
#0F1013
(15,16,19)
#000000
(0,0,0)

Tints of #5F6A8B

#5F6A8B
(95,106,139)
#6D7795
(109,119,149)
#7B849F
(123,132,159)
#8991A9
(137,145,169)
#979EB3
(151,158,179)
#A5ABBD
(165,171,189)
#B3B8C7
(179,184,199)
#C1C5D1
(193,197,209)
#CFD2DB
(207,210,219)
#DDDFE5
(221,223,229)
#EBECEF
(235,236,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F6A8B color. Also use rgb(95,106,139) instead hex code.

Text Font Color

.myTextColor { color: #5F6A8B; }

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

This text font color is #5F6A8B.


Background Color

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

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

This div background color is #5F6A8B.


Border color

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

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

This div border color is #5F6A8B.


Opacity

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

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

Text with #5F6A8B 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 #5F6A8B;}

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

This text has shadow with #5F6A8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F6A8B on black background.


Color preview on white background

This text has color #5F6A8B on white background.



Black color preview on #5F6A8B background

This text has black color on #5F6A8B background.


White color preview on #5F6A8B background

This text has white color on #5F6A8B background.