COLOR #5A794F

HEX: #5A794F RGB: (90,121,79)

Color info

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

RGB color model

#5A794F color RGB value is (90,121,79).

RGB: (90,121,79) (35%, 47%, 31%)

RGB channels and saturation

R 90 of 255 = 35%
G 121 of 255 = 47%
B 79 of 255 = 31%

90
121
79

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

Portions of RGB colors in percentages

R + G + B = 90 + 121 + 79 = 290 (100%)
R 90 of 290 ~ 31.03%
G 121 of 290 ~ 41.72%
B 79 of 290 ~ 27.24'%

%31.03
%41.72
%27.24

CMYK color model

#5A794F color CMYK value is (26,0,35,53).

  • cyan value is 25.62%
  • magenta value is 0.00%
  • yellow value is 34.71%
  • key color value is 52.55%
CMYK: (26,0,35,53) C26M0Y35K53 (26%,0%,35%,53%) (0.26/0.00/0.35/0.53) 

CMYK percentages

%25.62
%0
%34.71
%52.55

Codes

Color #5A794F in popluar color models

5A 79 4F
RGB 90 121 79
HSL 104° 21.00% 39.22%
HSB/HSV 104° 34.71% 47.45%
CMYK 25.62% 0.00% 34.71%
52.55%

Color #5A794F in popluar number systems.

HEX 5A 79 4F
Decimal 90 121 79
Binary 1011010 1111001 1001111
Octal 132 171 117

Shades and tints

Shades of #5A794F

#5A794F
(90,121,79)
#526E48
(82,110,72)
#4A6341
(74,99,65)
#42583A
(66,88,58)
#3A4D33
(58,77,51)
#32422C
(50,66,44)
#2A3725
(42,55,37)
#222C1E
(34,44,30)
#1A2117
(26,33,23)
#121610
(18,22,16)
#0A0B09
(10,11,9)
#000000
(0,0,0)

Tints of #5A794F

#5A794F
(90,121,79)
#69855F
(105,133,95)
#78916F
(120,145,111)
#879D7F
(135,157,127)
#96A98F
(150,169,143)
#A5B59F
(165,181,159)
#B4C1AF
(180,193,175)
#C3CDBF
(195,205,191)
#D2D9CF
(210,217,207)
#E1E5DF
(225,229,223)
#F0F1EF
(240,241,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A794F; }

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

This text font color is #5A794F.

Background Color

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

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

This div background color is #5A794F.

Border color

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

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

This div border color is #5A794F.

Opacity

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

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

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

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

This text has shadow with #5A794F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A794F.

Preview

Color preview on black background

This text has color #5A794F on black background.


Color preview on white background

This text has color #5A794F on white background.


Black color preview on #5A794F background

This text has black color on #5A794F background.


White color preview on #5A794F background

This text has white color on #5A794F background.


Related colors

Complementary color

Complementary color for #hex is #A586B0.


I love getcolorcode.com

Triadic colors

1 #4F5A79 and #794F5A with #5A794F are triadic colors.

2 #4F795A and #795A4F with #5A794F are triadic colors.