COLOR #5A5F86

HEX: #5A5F86
RGB: (90,95,134)

Color info

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

RGB color model

#5A5F86 color RGB value is (90,95,134).

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

RGB channels and saturation

R 90 of 255 = 35%
G 95 of 255 = 37%
B 134 of 255 = 53%

90
95
134

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

Portions of RGB colors in percentages

R + G + B =
90 + 95 + 134 = 319 (100%)
R 90 of 319 ~ 28.21%
G 95 of 319 ~ 29.78%
B 134 of 319 ~ 42.01%

%28.21
%29.78
%42.01

CMYK color model

#5A5F86 color CMYK value is (33,29,0,47).

  • cyan value is 32.84%
  • magenta value is 29.10%
  • yellow value is 0.00%
  • key color value is 47.45%
CMYK:
(33,29,0,47)
C33M29Y0K47 
(33%,29%,0%,47%)
(0.33/0.29/0.00/0.47)	

CMYK percentages

%32.84
%29.1
%0
%47.45

Codes

Color #5A5F86 in popluar color models

5A5F86
RGB9095134
HSL233°19.64%43.92%
HSB/HSV233°32.84%52.55%
CMYK32.84%29.10%0.00%
47.45%

Color #5A5F86 in popluar number systems.

HEX5A5F86
Decimal9095134
Binary1011010101111110000110
Octal132137206

Shades and tints

Shades of #5A5F86

#5A5F86
(90,95,134)
#52577A
(82,87,122)
#4A4F6E
(74,79,110)
#424762
(66,71,98)
#3A3F56
(58,63,86)
#32374A
(50,55,74)
#2A2F3E
(42,47,62)
#222732
(34,39,50)
#1A1F26
(26,31,38)
#12171A
(18,23,26)
#0A0F0E
(10,15,14)
#000000
(0,0,0)

Tints of #5A5F86

#5A5F86
(90,95,134)
#696D91
(105,109,145)
#787B9C
(120,123,156)
#8789A7
(135,137,167)
#9697B2
(150,151,178)
#A5A5BD
(165,165,189)
#B4B3C8
(180,179,200)
#C3C1D3
(195,193,211)
#D2CFDE
(210,207,222)
#E1DDE9
(225,221,233)
#F0EBF4
(240,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5F86; }

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

This text font color is #5A5F86.


Background Color

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

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

This div background color is #5A5F86.


Border color

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

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

This div border color is #5A5F86.


Opacity

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

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

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

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

This text has shadow with #5A5F86 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5F86 on black background.


Color preview on white background

This text has color #5A5F86 on white background.



Black color preview on #5A5F86 background

This text has black color on #5A5F86 background.


White color preview on #5A5F86 background

This text has white color on #5A5F86 background.