COLOR #5A731F

HEX: #5A731F RGB: (90,115,31)

Color info

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

RGB color model

#5A731F color RGB value is (90,115,31).

RGB: (90,115,31) (35%, 45%, 12%)

RGB channels and saturation

R 90 of 255 = 35%
G 115 of 255 = 45%
B 31 of 255 = 12%

90
115
31

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

Portions of RGB colors in percentages

R + G + B = 90 + 115 + 31 = 236 (100%)
R 90 of 236 ~ 38.14%
G 115 of 236 ~ 48.73%
B 31 of 236 ~ 13.14'%

%38.14
%48.73
%13.14

CMYK color model

#5A731F color CMYK value is (22,0,73,55).

  • cyan value is 21.74%
  • magenta value is 0.00%
  • yellow value is 73.04%
  • key color value is 54.90%

CMYK: (22,0,73,55)
C22M0Y73K55 (22%, 0%, 73%, 55%)
(0.22 / 0.00 / 0.73 / 0.55)

CMYK percentages

%21.74
%0
%73.04
%54.9

Codes

Color #5A731F in popluar color models

5A 73 1F
RGB 90 115 31
HSL 78° 57.53% 28.63%
HSB/HSV 78° 73.04% 45.10%
CMYK 21.74% 0.00% 73.04%
54.90%

Color #5A731F in popluar number systems.

HEX 5A 73 1F
Decimal 90 115 31
Binary 1011010 1110011 11111
Octal 132 163 37

Shades and tints

Shades of #5A731F

#5A731F
(90,115,31)
#52691D
(82,105,29)
#4A5F1B
(74,95,27)
#425519
(66,85,25)
#3A4B17
(58,75,23)
#324115
(50,65,21)
#2A3713
(42,55,19)
#222D11
(34,45,17)
#1A230F
(26,35,15)
#12190D
(18,25,13)
#0A0F0B
(10,15,11)
#000000
(0,0,0)

Tints of #5A731F

#5A731F
(90,115,31)
#697F33
(105,127,51)
#788B47
(120,139,71)
#87975B
(135,151,91)
#96A36F
(150,163,111)
#A5AF83
(165,175,131)
#B4BB97
(180,187,151)
#C3C7AB
(195,199,171)
#D2D3BF
(210,211,191)
#E1DFD3
(225,223,211)
#F0EBE7
(240,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A731F color. Also use rgb(90,115,31) instead hex code.

Text Font Color

.myTextColor { color: #5A731F; }

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

This text font color is #5A731F.

Background Color

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

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

This div background color is #5A731F.

Border color

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

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

This div border color is #5A731F.

Opacity

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

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

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

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

This text has shadow with #5A731F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A731F.

Preview

Color preview on black background

This text has color #5A731F on black background.


Color preview on white background

This text has color #5A731F on white background.


Black color preview on #5A731F background

This text has black color on #5A731F background.


White color preview on #5A731F background

This text has white color on #5A731F background.


Related colors

Complementary color

Complementary color for #hex is #A58CE0.


I love getcolorcode.com

Triadic colors

1 #1F5A73 and #731F5A with #5A731F are triadic colors.

2 #1F735A and #735A1F with #5A731F are triadic colors.