COLOR #5A5F72

HEX: #5A5F72 RGB: (90,95,114)

Color info

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

RGB color model

#5A5F72 color RGB value is (90,95,114).

RGB: (90,95,114) (35%, 37%, 45%)

RGB channels and saturation

R 90 of 255 = 35%
G 95 of 255 = 37%
B 114 of 255 = 45%

90
95
114

R + G + B ~ 39%. #5A5F72 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 95 + 114 = 299 (100%)
R 90 of 299 ~ 30.1%
G 95 of 299 ~ 31.77%
B 114 of 299 ~ 38.13'%

%30.1
%31.77
%38.13

CMYK color model

#5A5F72 color CMYK value is (21,17,0,55).

  • cyan value is 21.05%
  • magenta value is 16.67%
  • yellow value is 0.00%
  • key color value is 55.29%

CMYK: (21,17,0,55)
C21M17Y0K55 (21%, 17%, 0%, 55%)
(0.21 / 0.17 / 0.00 / 0.55)

CMYK percentages

%21.05
%16.67
%0
%55.29

Codes

Color #5A5F72 in popluar color models

5A 5F 72
RGB 90 95 114
HSL 228° 11.76% 40.00%
HSB/HSV 228° 21.05% 44.71%
CMYK 21.05% 16.67% 0.00%
55.29%

Color #5A5F72 in popluar number systems.

HEX 5A 5F 72
Decimal 90 95 114
Binary 1011010 1011111 1110010
Octal 132 137 162

Shades and tints

Shades of #5A5F72

#5A5F72
(90,95,114)
#525768
(82,87,104)
#4A4F5E
(74,79,94)
#424754
(66,71,84)
#3A3F4A
(58,63,74)
#323740
(50,55,64)
#2A2F36
(42,47,54)
#22272C
(34,39,44)
#1A1F22
(26,31,34)
#121718
(18,23,24)
#0A0F0E
(10,15,14)
#000000
(0,0,0)

Tints of #5A5F72

#5A5F72
(90,95,114)
#696D7E
(105,109,126)
#787B8A
(120,123,138)
#878996
(135,137,150)
#9697A2
(150,151,162)
#A5A5AE
(165,165,174)
#B4B3BA
(180,179,186)
#C3C1C6
(195,193,198)
#D2CFD2
(210,207,210)
#E1DDDE
(225,221,222)
#F0EBEA
(240,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5F72; }

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

This text font color is #5A5F72.

Background Color

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

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

This div background color is #5A5F72.

Border color

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

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

This div border color is #5A5F72.

Opacity

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

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

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

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

This text has shadow with #5A5F72 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5F72.

Preview

Color preview on black background

This text has color #5A5F72 on black background.


Color preview on white background

This text has color #5A5F72 on white background.


Black color preview on #5A5F72 background

This text has black color on #5A5F72 background.


White color preview on #5A5F72 background

This text has white color on #5A5F72 background.


Related colors

Complementary color

Complementary color for #hex is #A5A08D.


I love getcolorcode.com

Triadic colors

1 #725A5F and #5F725A with #5A5F72 are triadic colors.

2 #725F5A and #5F5A72 with #5A5F72 are triadic colors.