COLOR #5A7272

HEX: #5A7272 RGB: (90,114,114)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

90
114
114

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

Portions of RGB colors in percentages

R + G + B = 90 + 114 + 114 = 318 (100%)
R 90 of 318 ~ 28.3%
G 114 of 318 ~ 35.85%
B 114 of 318 ~ 35.85'%

%28.3
%35.85
%35.85

CMYK color model

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

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

CMYK percentages

%21.05
%0
%0
%55.29

Codes

Color #5A7272 in popluar color models

5A 72 72
RGB 90 114 114
HSL 180° 11.76% 40.00%
HSB/HSV 180° 21.05% 44.71%
CMYK 21.05% 0.00% 0.00%
55.29%

Color #5A7272 in popluar number systems.

HEX 5A 72 72
Decimal 90 114 114
Binary 1011010 1110010 1110010
Octal 132 162 162

Shades and tints

Shades of #5A7272

#5A7272
(90,114,114)
#526868
(82,104,104)
#4A5E5E
(74,94,94)
#425454
(66,84,84)
#3A4A4A
(58,74,74)
#324040
(50,64,64)
#2A3636
(42,54,54)
#222C2C
(34,44,44)
#1A2222
(26,34,34)
#121818
(18,24,24)
#0A0E0E
(10,14,14)
#000000
(0,0,0)

Tints of #5A7272

#5A7272
(90,114,114)
#697E7E
(105,126,126)
#788A8A
(120,138,138)
#879696
(135,150,150)
#96A2A2
(150,162,162)
#A5AEAE
(165,174,174)
#B4BABA
(180,186,186)
#C3C6C6
(195,198,198)
#D2D2D2
(210,210,210)
#E1DEDE
(225,222,222)
#F0EAEA
(240,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7272; }

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

This text font color is #5A7272.

Background Color

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

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

This div background color is #5A7272.

Border color

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

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

This div border color is #5A7272.

Opacity

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

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

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

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

This text has shadow with #5A7272 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7272.

Preview

Color preview on black background

This text has color #5A7272 on black background.


Color preview on white background

This text has color #5A7272 on white background.


Black color preview on #5A7272 background

This text has black color on #5A7272 background.


White color preview on #5A7272 background

This text has white color on #5A7272 background.


Related colors

Complementary color

Complementary color for #hex is #A58D8D.


I love getcolorcode.com