COLOR #5A874A

HEX: #5A874A RGB: (90,135,74)

Color info

#5A874A contains mainly red and green colors. Web safe color of #5A874A is #669933 (or #693).

RGB color model

#5A874A color RGB value is (90,135,74).

RGB: (90,135,74) (35%, 53%, 29%)

RGB channels and saturation

R 90 of 255 = 35%
G 135 of 255 = 53%
B 74 of 255 = 29%

90
135
74

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

Portions of RGB colors in percentages

R + G + B = 90 + 135 + 74 = 299 (100%)
R 90 of 299 ~ 30.1%
G 135 of 299 ~ 45.15%
B 74 of 299 ~ 24.75'%

%30.1
%45.15
%24.75

CMYK color model

#5A874A color CMYK value is (33,0,45,47).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 45.19%
  • key color value is 47.06%

CMYK: (33,0,45,47)
C33M0Y45K47 (33%, 0%, 45%, 47%)
(0.33 / 0.00 / 0.45 / 0.47)

CMYK percentages

%33.33
%0
%45.19
%47.06

Codes

Color #5A874A in popluar color models

5A 87 4A
RGB 90 135 74
HSL 104° 29.19% 40.98%
HSB/HSV 104° 45.19% 52.94%
CMYK 33.33% 0.00% 45.19%
47.06%

Color #5A874A in popluar number systems.

HEX 5A 87 4A
Decimal 90 135 74
Binary 1011010 10000111 1001010
Octal 132 207 112

Shades and tints

Shades of #5A874A

#5A874A
(90,135,74)
#527B44
(82,123,68)
#4A6F3E
(74,111,62)
#426338
(66,99,56)
#3A5732
(58,87,50)
#324B2C
(50,75,44)
#2A3F26
(42,63,38)
#223320
(34,51,32)
#1A271A
(26,39,26)
#121B14
(18,27,20)
#0A0F0E
(10,15,14)
#000000
(0,0,0)

Tints of #5A874A

#5A874A
(90,135,74)
#69915A
(105,145,90)
#789B6A
(120,155,106)
#87A57A
(135,165,122)
#96AF8A
(150,175,138)
#A5B99A
(165,185,154)
#B4C3AA
(180,195,170)
#C3CDBA
(195,205,186)
#D2D7CA
(210,215,202)
#E1E1DA
(225,225,218)
#F0EBEA
(240,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A874A; }

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

This text font color is #5A874A.

Background Color

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

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

This div background color is #5A874A.

Border color

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

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

This div border color is #5A874A.

Opacity

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

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

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

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

This text has shadow with #5A874A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A874A.

Preview

Color preview on black background

This text has color #5A874A on black background.


Color preview on white background

This text has color #5A874A on white background.


Black color preview on #5A874A background

This text has black color on #5A874A background.


White color preview on #5A874A background

This text has white color on #5A874A background.


Related colors

Complementary color

Complementary color for #hex is #A578B5.


I love getcolorcode.com

Triadic colors

1 #4A5A87 and #874A5A with #5A874A are triadic colors.

2 #4A875A and #875A4A with #5A874A are triadic colors.