COLOR #5A745A

HEX: #5A745A
RGB: (90,116,90)

Color info

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

RGB color model

#5A745A color RGB value is (90,116,90).

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

RGB channels and saturation

R 90 of 255 = 35%
G 116 of 255 = 45%
B 90 of 255 = 35%

90
116
90

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

Portions of RGB colors in percentages

R + G + B =
90 + 116 + 90 = 296 (100%)
R 90 of 296 ~ 30.41%
G 116 of 296 ~ 39.19%
B 90 of 296 ~ 30.41%

%30.41
%39.19
%30.41

CMYK color model

#5A745A color CMYK value is (22,0,22,55).

  • cyan value is 22.41%
  • magenta value is 0.00%
  • yellow value is 22.41%
  • key color value is 54.51%
CMYK:
(22,0,22,55)
C22M0Y22K55 
(22%,0%,22%,55%)
(0.22/0.00/0.22/0.55)	

CMYK percentages

%22.41
%0
%22.41
%54.51

Codes

Color #5A745A in popluar color models

5A745A
RGB9011690
HSL120°12.62%40.39%
HSB/HSV120°22.41%45.49%
CMYK22.41%0.00%22.41%
54.51%

Color #5A745A in popluar number systems.

HEX5A745A
Decimal9011690
Binary101101011101001011010
Octal132164132

Shades and tints

Shades of #5A745A

#5A745A
(90,116,90)
#526A52
(82,106,82)
#4A604A
(74,96,74)
#425642
(66,86,66)
#3A4C3A
(58,76,58)
#324232
(50,66,50)
#2A382A
(42,56,42)
#222E22
(34,46,34)
#1A241A
(26,36,26)
#121A12
(18,26,18)
#0A100A
(10,16,10)
#000000
(0,0,0)

Tints of #5A745A

#5A745A
(90,116,90)
#698069
(105,128,105)
#788C78
(120,140,120)
#879887
(135,152,135)
#96A496
(150,164,150)
#A5B0A5
(165,176,165)
#B4BCB4
(180,188,180)
#C3C8C3
(195,200,195)
#D2D4D2
(210,212,210)
#E1E0E1
(225,224,225)
#F0ECF0
(240,236,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A745A; }

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

This text font color is #5A745A.


Background Color

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

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

This div background color is #5A745A.


Border color

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

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

This div border color is #5A745A.


Opacity

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

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

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

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

This text has shadow with #5A745A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A745A on black background.


Color preview on white background

This text has color #5A745A on white background.



Black color preview on #5A745A background

This text has black color on #5A745A background.


White color preview on #5A745A background

This text has white color on #5A745A background.