COLOR #5A7256

HEX: #5A7256
RGB: (90,114,86)

Color info

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

RGB color model

#5A7256 color RGB value is (90,114,86).

  • red value is 90;
  • green value is 114;
  • blue value is 86.
RGB:
(90,114,86)
(35%,45%,34%)

RGB channels and saturation

R 90 of 255 = 35%
G 114 of 255 = 45%
B 86 of 255 = 34%

90
114
86

R + G + B ~ 38%. #5A7256 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 114 + 86 = 290 (100%)
R 90 of 290 ~ 31.03%
G 114 of 290 ~ 39.31%
B 86 of 290 ~ 29.66%

%31.03
%39.31
%29.66

CMYK color model

#5A7256 color CMYK value is (21,0,25,55).

  • cyan value is 21.05%
  • magenta value is 0.00%
  • yellow value is 24.56%
  • key color value is 55.29%
CMYK:
(21,0,25,55)
C21M0Y25K55 
(21%,0%,25%,55%)
(0.21/0.00/0.25/0.55)	

CMYK percentages

%21.05
%0
%24.56
%55.29

Codes

Color #5A7256 in popluar color models

5A7256
RGB9011486
HSL111°14.00%39.22%
HSB/HSV111°24.56%44.71%
CMYK21.05%0.00%24.56%
55.29%

Color #5A7256 in popluar number systems.

HEX5A7256
Decimal9011486
Binary101101011100101010110
Octal132162126

Shades and tints

Shades of #5A7256

#5A7256
(90,114,86)
#52684F
(82,104,79)
#4A5E48
(74,94,72)
#425441
(66,84,65)
#3A4A3A
(58,74,58)
#324033
(50,64,51)
#2A362C
(42,54,44)
#222C25
(34,44,37)
#1A221E
(26,34,30)
#121817
(18,24,23)
#0A0E10
(10,14,16)
#000000
(0,0,0)

Tints of #5A7256

#5A7256
(90,114,86)
#697E65
(105,126,101)
#788A74
(120,138,116)
#879683
(135,150,131)
#96A292
(150,162,146)
#A5AEA1
(165,174,161)
#B4BAB0
(180,186,176)
#C3C6BF
(195,198,191)
#D2D2CE
(210,210,206)
#E1DEDD
(225,222,221)
#F0EAEC
(240,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7256 color. Also use rgb(90,114,86) instead hex code.

Text Font Color

.myTextColor { color: #5A7256; }

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

This text font color is #5A7256.


Background Color

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

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

This div background color is #5A7256.


Border color

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

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

This div border color is #5A7256.


Opacity

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

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

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

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

This text has shadow with #5A7256 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7256 on black background.


Color preview on white background

This text has color #5A7256 on white background.



Black color preview on #5A7256 background

This text has black color on #5A7256 background.


White color preview on #5A7256 background

This text has white color on #5A7256 background.