COLOR #5F5A7B

HEX: #5F5A7B
RGB: (95,90,123)

Color info

#5F5A7B contains red, green and blue colors in about the same proportion. Web safe color of #5F5A7B is #666666 (or #666).

RGB color model

#5F5A7B color RGB value is (95,90,123).

  • red value is 95;
  • green value is 90;
  • blue value is 123.
RGB:
(95,90,123)
(37%,35%,48%)

RGB channels and saturation

R 95 of 255 = 37%
G 90 of 255 = 35%
B 123 of 255 = 48%

95
90
123

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

Portions of RGB colors in percentages

R + G + B =
95 + 90 + 123 = 308 (100%)
R 95 of 308 ~ 30.84%
G 90 of 308 ~ 29.22%
B 123 of 308 ~ 39.94%

%30.84
%29.22
%39.94

CMYK color model

#5F5A7B color CMYK value is (23,27,0,52).

  • cyan value is 22.76%
  • magenta value is 26.83%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(23,27,0,52)
C23M27Y0K52 
(23%,27%,0%,52%)
(0.23/0.27/0.00/0.52)	

CMYK percentages

%22.76
%26.83
%0
%51.76

Codes

Color #5F5A7B in popluar color models

5F5A7B
RGB9590123
HSL249°15.49%41.76%
HSB/HSV249°26.83%48.24%
CMYK22.76%26.83%0.00%
51.76%

Color #5F5A7B in popluar number systems.

HEX5F5A7B
Decimal9590123
Binary101111110110101111011
Octal137132173

Shades and tints

Shades of #5F5A7B

#5F5A7B
(95,90,123)
#575270
(87,82,112)
#4F4A65
(79,74,101)
#47425A
(71,66,90)
#3F3A4F
(63,58,79)
#373244
(55,50,68)
#2F2A39
(47,42,57)
#27222E
(39,34,46)
#1F1A23
(31,26,35)
#171218
(23,18,24)
#0F0A0D
(15,10,13)
#000000
(0,0,0)

Tints of #5F5A7B

#5F5A7B
(95,90,123)
#6D6987
(109,105,135)
#7B7893
(123,120,147)
#89879F
(137,135,159)
#9796AB
(151,150,171)
#A5A5B7
(165,165,183)
#B3B4C3
(179,180,195)
#C1C3CF
(193,195,207)
#CFD2DB
(207,210,219)
#DDE1E7
(221,225,231)
#EBF0F3
(235,240,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F5A7B color. Also use rgb(95,90,123) instead hex code.

Text Font Color

.myTextColor { color: #5F5A7B; }

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

This text font color is #5F5A7B.


Background Color

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

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

This div background color is #5F5A7B.


Border color

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

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

This div border color is #5F5A7B.


Opacity

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

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

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

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

This text has shadow with #5F5A7B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F5A7B on black background.


Color preview on white background

This text has color #5F5A7B on white background.



Black color preview on #5F5A7B background

This text has black color on #5F5A7B background.


White color preview on #5F5A7B background

This text has white color on #5F5A7B background.