COLOR #5A742B

HEX: #5A742B RGB: (90,116,43)

Color info

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

RGB color model

#5A742B color RGB value is (90,116,43).

RGB: (90,116,43) (35%, 45%, 17%)

RGB channels and saturation

R 90 of 255 = 35%
G 116 of 255 = 45%
B 43 of 255 = 17%

90
116
43

R + G + B ~ 32%. #5A742B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 116 + 43 = 249 (100%)
R 90 of 249 ~ 36.14%
G 116 of 249 ~ 46.59%
B 43 of 249 ~ 17.27'%

%36.14
%46.59
%17.27

CMYK color model

#5A742B color CMYK value is (22,0,63,55).

  • cyan value is 22.41%
  • magenta value is 0.00%
  • yellow value is 62.93%
  • key color value is 54.51%

CMYK: (22,0,63,55)
C22M0Y63K55 (22%, 0%, 63%, 55%)
(0.22 / 0.00 / 0.63 / 0.55)

CMYK percentages

%22.41
%0
%62.93
%54.51

Codes

Color #5A742B in popluar color models

5A 74 2B
RGB 90 116 43
HSL 81° 45.91% 31.18%
HSB/HSV 81° 62.93% 45.49%
CMYK 22.41% 0.00% 62.93%
54.51%

Color #5A742B in popluar number systems.

HEX 5A 74 2B
Decimal 90 116 43
Binary 1011010 1110100 101011
Octal 132 164 53

Shades and tints

Shades of #5A742B

#5A742B
(90,116,43)
#526A28
(82,106,40)
#4A6025
(74,96,37)
#425622
(66,86,34)
#3A4C1F
(58,76,31)
#32421C
(50,66,28)
#2A3819
(42,56,25)
#222E16
(34,46,22)
#1A2413
(26,36,19)
#121A10
(18,26,16)
#0A100D
(10,16,13)
#000000
(0,0,0)

Tints of #5A742B

#5A742B
(90,116,43)
#69803E
(105,128,62)
#788C51
(120,140,81)
#879864
(135,152,100)
#96A477
(150,164,119)
#A5B08A
(165,176,138)
#B4BC9D
(180,188,157)
#C3C8B0
(195,200,176)
#D2D4C3
(210,212,195)
#E1E0D6
(225,224,214)
#F0ECE9
(240,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A742B; }

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

This text font color is #5A742B.

Background Color

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

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

This div background color is #5A742B.

Border color

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

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

This div border color is #5A742B.

Opacity

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

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

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

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

This text has shadow with #5A742B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A742B.

Preview

Color preview on black background

This text has color #5A742B on black background.


Color preview on white background

This text has color #5A742B on white background.


Black color preview on #5A742B background

This text has black color on #5A742B background.


White color preview on #5A742B background

This text has white color on #5A742B background.


Related colors

Complementary color

Complementary color for #hex is #A58BD4.


I love getcolorcode.com

Triadic colors

1 #2B5A74 and #742B5A with #5A742B are triadic colors.

2 #2B745A and #745A2B with #5A742B are triadic colors.