COLOR #5A6F52

HEX: #5A6F52
RGB: (90,111,82)

Color info

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

RGB color model

#5A6F52 color RGB value is (90,111,82).

  • red value is 90;
  • green value is 111;
  • blue value is 82.
RGB:
(90,111,82)
(35%,44%,32%)

RGB channels and saturation

R 90 of 255 = 35%
G 111 of 255 = 44%
B 82 of 255 = 32%

90
111
82

R + G + B ~ 37%. #5A6F52 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 111 + 82 = 283 (100%)
R 90 of 283 ~ 31.8%
G 111 of 283 ~ 39.22%
B 82 of 283 ~ 28.98%

%31.8
%39.22
%28.98

CMYK color model

#5A6F52 color CMYK value is (19,0,26,56).

  • cyan value is 18.92%
  • magenta value is 0.00%
  • yellow value is 26.13%
  • key color value is 56.47%
CMYK:
(19,0,26,56)
C19M0Y26K56 
(19%,0%,26%,56%)
(0.19/0.00/0.26/0.56)	

CMYK percentages

%18.92
%0
%26.13
%56.47

Codes

Color #5A6F52 in popluar color models

5A6F52
RGB9011182
HSL103°15.03%37.84%
HSB/HSV103°26.13%43.53%
CMYK18.92%0.00%26.13%
56.47%

Color #5A6F52 in popluar number systems.

HEX5A6F52
Decimal9011182
Binary101101011011111010010
Octal132157122

Shades and tints

Shades of #5A6F52

#5A6F52
(90,111,82)
#52654B
(82,101,75)
#4A5B44
(74,91,68)
#42513D
(66,81,61)
#3A4736
(58,71,54)
#323D2F
(50,61,47)
#2A3328
(42,51,40)
#222921
(34,41,33)
#1A1F1A
(26,31,26)
#121513
(18,21,19)
#0A0B0C
(10,11,12)
#000000
(0,0,0)

Tints of #5A6F52

#5A6F52
(90,111,82)
#697C61
(105,124,97)
#788970
(120,137,112)
#87967F
(135,150,127)
#96A38E
(150,163,142)
#A5B09D
(165,176,157)
#B4BDAC
(180,189,172)
#C3CABB
(195,202,187)
#D2D7CA
(210,215,202)
#E1E4D9
(225,228,217)
#F0F1E8
(240,241,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6F52; }

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

This text font color is #5A6F52.


Background Color

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

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

This div background color is #5A6F52.


Border color

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

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

This div border color is #5A6F52.


Opacity

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

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

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

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

This text has shadow with #5A6F52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6F52 on black background.


Color preview on white background

This text has color #5A6F52 on white background.



Black color preview on #5A6F52 background

This text has black color on #5A6F52 background.


White color preview on #5A6F52 background

This text has white color on #5A6F52 background.