COLOR #5A5872

HEX: #5A5872
RGB: (90,88,114)

Color info

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

RGB color model

#5A5872 color RGB value is (90,88,114).

  • red value is 90;
  • green value is 88;
  • blue value is 114.
RGB:
(90,88,114)
(35%,35%,45%)

RGB channels and saturation

R 90 of 255 = 35%
G 88 of 255 = 35%
B 114 of 255 = 45%

90
88
114

R + G + B ~ 38%. #5A5872 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 88 + 114 = 292 (100%)
R 90 of 292 ~ 30.82%
G 88 of 292 ~ 30.14%
B 114 of 292 ~ 39.04%

%30.82
%30.14
%39.04

CMYK color model

#5A5872 color CMYK value is (21,23,0,55).

  • cyan value is 21.05%
  • magenta value is 22.81%
  • yellow value is 0.00%
  • key color value is 55.29%
CMYK:
(21,23,0,55)
C21M23Y0K55 
(21%,23%,0%,55%)
(0.21/0.23/0.00/0.55)	

CMYK percentages

%21.05
%22.81
%0
%55.29

Codes

Color #5A5872 in popluar color models

5A5872
RGB9088114
HSL245°12.87%39.61%
HSB/HSV245°22.81%44.71%
CMYK21.05%22.81%0.00%
55.29%

Color #5A5872 in popluar number systems.

HEX5A5872
Decimal9088114
Binary101101010110001110010
Octal132130162

Shades and tints

Shades of #5A5872

#5A5872
(90,88,114)
#525068
(82,80,104)
#4A485E
(74,72,94)
#424054
(66,64,84)
#3A384A
(58,56,74)
#323040
(50,48,64)
#2A2836
(42,40,54)
#22202C
(34,32,44)
#1A1822
(26,24,34)
#121018
(18,16,24)
#0A080E
(10,8,14)
#000000
(0,0,0)

Tints of #5A5872

#5A5872
(90,88,114)
#69677E
(105,103,126)
#78768A
(120,118,138)
#878596
(135,133,150)
#9694A2
(150,148,162)
#A5A3AE
(165,163,174)
#B4B2BA
(180,178,186)
#C3C1C6
(195,193,198)
#D2D0D2
(210,208,210)
#E1DFDE
(225,223,222)
#F0EEEA
(240,238,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5872 color. Also use rgb(90,88,114) instead hex code.

Text Font Color

.myTextColor { color: #5A5872; }

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

This text font color is #5A5872.


Background Color

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

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

This div background color is #5A5872.


Border color

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

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

This div border color is #5A5872.


Opacity

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

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

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

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

This text has shadow with #5A5872 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5872 on black background.


Color preview on white background

This text has color #5A5872 on white background.



Black color preview on #5A5872 background

This text has black color on #5A5872 background.


White color preview on #5A5872 background

This text has white color on #5A5872 background.