COLOR #5A6C42

HEX: #5A6C42 RGB: (90,108,66)

Color info

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

RGB color model

#5A6C42 color RGB value is (90,108,66).

RGB: (90,108,66) (35%, 42%, 26%)

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 66 of 255 = 26%

90
108
66

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

Portions of RGB colors in percentages

R + G + B = 90 + 108 + 66 = 264 (100%)
R 90 of 264 ~ 34.09%
G 108 of 264 ~ 40.91%
B 66 of 264 ~ 25'%

%34.09
%40.91
%25

CMYK color model

#5A6C42 color CMYK value is (17,0,39,58).

  • cyan value is 16.67%
  • magenta value is 0.00%
  • yellow value is 38.89%
  • key color value is 57.65%

CMYK: (17,0,39,58)
C17M0Y39K58 (17%, 0%, 39%, 58%)
(0.17 / 0.00 / 0.39 / 0.58)

CMYK percentages

%16.67
%0
%38.89
%57.65

Codes

Color #5A6C42 in popluar color models

5A 6C 42
RGB 90 108 66
HSL 86° 24.14% 34.12%
HSB/HSV 86° 38.89% 42.35%
CMYK 16.67% 0.00% 38.89%
57.65%

Color #5A6C42 in popluar number systems.

HEX 5A 6C 42
Decimal 90 108 66
Binary 1011010 1101100 1000010
Octal 132 154 102

Shades and tints

Shades of #5A6C42

#5A6C42
(90,108,66)
#52633C
(82,99,60)
#4A5A36
(74,90,54)
#425130
(66,81,48)
#3A482A
(58,72,42)
#323F24
(50,63,36)
#2A361E
(42,54,30)
#222D18
(34,45,24)
#1A2412
(26,36,18)
#121B0C
(18,27,12)
#0A1206
(10,18,6)
#000000
(0,0,0)

Tints of #5A6C42

#5A6C42
(90,108,66)
#697953
(105,121,83)
#788664
(120,134,100)
#879375
(135,147,117)
#96A086
(150,160,134)
#A5AD97
(165,173,151)
#B4BAA8
(180,186,168)
#C3C7B9
(195,199,185)
#D2D4CA
(210,212,202)
#E1E1DB
(225,225,219)
#F0EEEC
(240,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A6C42 color. Also use rgb(90,108,66) instead hex code.

Text Font Color

.myTextColor { color: #5A6C42; }

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

This text font color is #5A6C42.

Background Color

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

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

This div background color is #5A6C42.

Border color

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

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

This div border color is #5A6C42.

Opacity

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

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

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

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

This text has shadow with #5A6C42 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6C42.

Preview

Color preview on black background

This text has color #5A6C42 on black background.


Color preview on white background

This text has color #5A6C42 on white background.


Black color preview on #5A6C42 background

This text has black color on #5A6C42 background.


White color preview on #5A6C42 background

This text has white color on #5A6C42 background.


Related colors

Complementary color

Complementary color for #hex is #A593BD.


I love getcolorcode.com

Triadic colors

1 #425A6C and #6C425A with #5A6C42 are triadic colors.

2 #426C5A and #6C5A42 with #5A6C42 are triadic colors.