COLOR #5A6C52

HEX: #5A6C52 RGB: (90,108,82)

Color info

#5A6C52 contains red, green and blue colors in about the same proportion. Web safe color of #5A6C52 is #666666 (or #666).

RGB color model

#5A6C52 color RGB value is (90,108,82).

RGB: (90,108,82) (35%, 42%, 32%)

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 82 of 255 = 32%

90
108
82

R + G + B ~ 36%. #5A6C52 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 108 + 82 = 280 (100%)
R 90 of 280 ~ 32.14%
G 108 of 280 ~ 38.57%
B 82 of 280 ~ 29.29'%

%32.14
%38.57
%29.29

CMYK color model

#5A6C52 color CMYK value is (17,0,24,58).

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

CMYK: (17,0,24,58)
C17M0Y24K58 (17%, 0%, 24%, 58%)
(0.17 / 0.00 / 0.24 / 0.58)

CMYK percentages

%16.67
%0
%24.07
%57.65

Codes

Color #5A6C52 in popluar color models

5A 6C 52
RGB 90 108 82
HSL 102° 13.68% 37.25%
HSB/HSV 102° 24.07% 42.35%
CMYK 16.67% 0.00% 24.07%
57.65%

Color #5A6C52 in popluar number systems.

HEX 5A 6C 52
Decimal 90 108 82
Binary 1011010 1101100 1010010
Octal 132 154 122

Shades and tints

Shades of #5A6C52

#5A6C52
(90,108,82)
#52634B
(82,99,75)
#4A5A44
(74,90,68)
#42513D
(66,81,61)
#3A4836
(58,72,54)
#323F2F
(50,63,47)
#2A3628
(42,54,40)
#222D21
(34,45,33)
#1A241A
(26,36,26)
#121B13
(18,27,19)
#0A120C
(10,18,12)
#000000
(0,0,0)

Tints of #5A6C52

#5A6C52
(90,108,82)
#697961
(105,121,97)
#788670
(120,134,112)
#87937F
(135,147,127)
#96A08E
(150,160,142)
#A5AD9D
(165,173,157)
#B4BAAC
(180,186,172)
#C3C7BB
(195,199,187)
#D2D4CA
(210,212,202)
#E1E1D9
(225,225,217)
#F0EEE8
(240,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6C52; }

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

This text font color is #5A6C52.

Background Color

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

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

This div background color is #5A6C52.

Border color

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

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

This div border color is #5A6C52.

Opacity

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

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

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

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

This text has shadow with #5A6C52 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6C52.

Preview

Color preview on black background

This text has color #5A6C52 on black background.


Color preview on white background

This text has color #5A6C52 on white background.


Black color preview on #5A6C52 background

This text has black color on #5A6C52 background.


White color preview on #5A6C52 background

This text has white color on #5A6C52 background.


Related colors

Complementary color

Complementary color for #hex is #A593AD.


I love getcolorcode.com

Triadic colors

1 #525A6C and #6C525A with #5A6C52 are triadic colors.

2 #526C5A and #6C5A52 with #5A6C52 are triadic colors.