COLOR #5A7151

HEX: #5A7151 RGB: (90,113,81)

Color info

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

RGB color model

#5A7151 color RGB value is (90,113,81).

RGB: (90,113,81) (35%, 44%, 32%)

RGB channels and saturation

R 90 of 255 = 35%
G 113 of 255 = 44%
B 81 of 255 = 32%

90
113
81

R + G + B ~ 37%. #5A7151 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 113 + 81 = 284 (100%)
R 90 of 284 ~ 31.69%
G 113 of 284 ~ 39.79%
B 81 of 284 ~ 28.52'%

%31.69
%39.79
%28.52

CMYK color model

#5A7151 color CMYK value is (20,0,28,56).

  • cyan value is 20.35%
  • magenta value is 0.00%
  • yellow value is 28.32%
  • key color value is 55.69%

CMYK: (20,0,28,56)
C20M0Y28K56 (20%, 0%, 28%, 56%)
(0.20 / 0.00 / 0.28 / 0.56)

CMYK percentages

%20.35
%0
%28.32
%55.69

Codes

Color #5A7151 in popluar color models

5A 71 51
RGB 90 113 81
HSL 103° 16.49% 38.04%
HSB/HSV 103° 28.32% 44.31%
CMYK 20.35% 0.00% 28.32%
55.69%

Color #5A7151 in popluar number systems.

HEX 5A 71 51
Decimal 90 113 81
Binary 1011010 1110001 1010001
Octal 132 161 121

Shades and tints

Shades of #5A7151

#5A7151
(90,113,81)
#52674A
(82,103,74)
#4A5D43
(74,93,67)
#42533C
(66,83,60)
#3A4935
(58,73,53)
#323F2E
(50,63,46)
#2A3527
(42,53,39)
#222B20
(34,43,32)
#1A2119
(26,33,25)
#121712
(18,23,18)
#0A0D0B
(10,13,11)
#000000
(0,0,0)

Tints of #5A7151

#5A7151
(90,113,81)
#697D60
(105,125,96)
#78896F
(120,137,111)
#87957E
(135,149,126)
#96A18D
(150,161,141)
#A5AD9C
(165,173,156)
#B4B9AB
(180,185,171)
#C3C5BA
(195,197,186)
#D2D1C9
(210,209,201)
#E1DDD8
(225,221,216)
#F0E9E7
(240,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7151; }

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

This text font color is #5A7151.

Background Color

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

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

This div background color is #5A7151.

Border color

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

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

This div border color is #5A7151.

Opacity

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

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

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

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

This text has shadow with #5A7151 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7151.

Preview

Color preview on black background

This text has color #5A7151 on black background.


Color preview on white background

This text has color #5A7151 on white background.


Black color preview on #5A7151 background

This text has black color on #5A7151 background.


White color preview on #5A7151 background

This text has white color on #5A7151 background.


Related colors

Complementary color

Complementary color for #hex is #A58EAE.


I love getcolorcode.com

Triadic colors

1 #515A71 and #71515A with #5A7151 are triadic colors.

2 #51715A and #715A51 with #5A7151 are triadic colors.