COLOR #5A6840

HEX: #5A6840 RGB: (90,104,64)

Color info

#5A6840 contains red, green and blue colors in about the same proportion. Web safe color of #5A6840 is #666633 (or #663).

RGB color model

#5A6840 color RGB value is (90,104,64).

RGB: (90,104,64) (35%, 41%, 25%)

RGB channels and saturation

R 90 of 255 = 35%
G 104 of 255 = 41%
B 64 of 255 = 25%

90
104
64

R + G + B ~ 34%. #5A6840 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 104 + 64 = 258 (100%)
R 90 of 258 ~ 34.88%
G 104 of 258 ~ 40.31%
B 64 of 258 ~ 24.81'%

%34.88
%40.31
%24.81

CMYK color model

#5A6840 color CMYK value is (13,0,38,59).

  • cyan value is 13.46%
  • magenta value is 0.00%
  • yellow value is 38.46%
  • key color value is 59.22%

CMYK: (13,0,38,59)
C13M0Y38K59 (13%, 0%, 38%, 59%)
(0.13 / 0.00 / 0.38 / 0.59)

CMYK percentages

%13.46
%0
%38.46
%59.22

Codes

Color #5A6840 in popluar color models

5A 68 40
RGB 90 104 64
HSL 81° 23.81% 32.94%
HSB/HSV 81° 38.46% 40.78%
CMYK 13.46% 0.00% 38.46%
59.22%

Color #5A6840 in popluar number systems.

HEX 5A 68 40
Decimal 90 104 64
Binary 1011010 1101000 1000000
Octal 132 150 100

Shades and tints

Shades of #5A6840

#5A6840
(90,104,64)
#525F3B
(82,95,59)
#4A5636
(74,86,54)
#424D31
(66,77,49)
#3A442C
(58,68,44)
#323B27
(50,59,39)
#2A3222
(42,50,34)
#22291D
(34,41,29)
#1A2018
(26,32,24)
#121713
(18,23,19)
#0A0E0E
(10,14,14)
#000000
(0,0,0)

Tints of #5A6840

#5A6840
(90,104,64)
#697551
(105,117,81)
#788262
(120,130,98)
#878F73
(135,143,115)
#969C84
(150,156,132)
#A5A995
(165,169,149)
#B4B6A6
(180,182,166)
#C3C3B7
(195,195,183)
#D2D0C8
(210,208,200)
#E1DDD9
(225,221,217)
#F0EAEA
(240,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A6840 color. Also use rgb(90,104,64) instead hex code.

Text Font Color

.myTextColor { color: #5A6840; }

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

This text font color is #5A6840.

Background Color

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

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

This div background color is #5A6840.

Border color

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

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

This div border color is #5A6840.

Opacity

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

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

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

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

This text has shadow with #5A6840 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6840.

Preview

Color preview on black background

This text has color #5A6840 on black background.


Color preview on white background

This text has color #5A6840 on white background.


Black color preview on #5A6840 background

This text has black color on #5A6840 background.


White color preview on #5A6840 background

This text has white color on #5A6840 background.


Related colors

Complementary color

Complementary color for #hex is #A597BF.


I love getcolorcode.com

Triadic colors

1 #405A68 and #68405A with #5A6840 are triadic colors.

2 #40685A and #685A40 with #5A6840 are triadic colors.