COLOR #5A7221

HEX: #5A7221
RGB: (90,114,33)

Color info

#5A7221 contains mainly red and green colors. Web safe color of #5A7221 is #666633 (or #663).

RGB color model

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

  • red value is 90;
  • green value is 114;
  • blue value is 33.
RGB:
(90,114,33)
(35%,45%,13%)

RGB channels and saturation

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

90
114
33

R + G + B ~ 31%. #5A7221 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 114 + 33 = 237 (100%)
R 90 of 237 ~ 37.97%
G 114 of 237 ~ 48.1%
B 33 of 237 ~ 13.92%

%37.97
%48.1
%13.92

CMYK color model

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

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

CMYK percentages

%21.05
%0
%71.05
%55.29

Codes

Color #5A7221 in popluar color models

5A7221
RGB9011433
HSL78°55.10%28.82%
HSB/HSV78°71.05%44.71%
CMYK21.05%0.00%71.05%
55.29%

Color #5A7221 in popluar number systems.

HEX5A7221
Decimal9011433
Binary10110101110010100001
Octal13216241

Shades and tints

Shades of #5A7221

#5A7221
(90,114,33)
#52681E
(82,104,30)
#4A5E1B
(74,94,27)
#425418
(66,84,24)
#3A4A15
(58,74,21)
#324012
(50,64,18)
#2A360F
(42,54,15)
#222C0C
(34,44,12)
#1A2209
(26,34,9)
#121806
(18,24,6)
#0A0E03
(10,14,3)
#000000
(0,0,0)

Tints of #5A7221

#5A7221
(90,114,33)
#697E35
(105,126,53)
#788A49
(120,138,73)
#87965D
(135,150,93)
#96A271
(150,162,113)
#A5AE85
(165,174,133)
#B4BA99
(180,186,153)
#C3C6AD
(195,198,173)
#D2D2C1
(210,210,193)
#E1DED5
(225,222,213)
#F0EAE9
(240,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7221; }

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

This text font color is #5A7221.


Background Color

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

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

This div background color is #5A7221.


Border color

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

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

This div border color is #5A7221.


Opacity

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

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

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

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

This text has shadow with #5A7221 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7221 on black background.


Color preview on white background

This text has color #5A7221 on white background.



Black color preview on #5A7221 background

This text has black color on #5A7221 background.


White color preview on #5A7221 background

This text has white color on #5A7221 background.