COLOR #5A7540

HEX: #5A7540
RGB: (90,117,64)

Color info

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

RGB color model

#5A7540 color RGB value is (90,117,64).

  • red value is 90;
  • green value is 117;
  • blue value is 64.
RGB: (90,117,64) (35%,46%,25%)

RGB channels and saturation

R 90 of 255 = 35%
G 117 of 255 = 46%
B 64 of 255 = 25%

90
117
64

R + G + B ~ 35%. #5A7540 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 117 + 64 = 271 (100%)
R 90 of 271 ~ 33.21%
G 117 of 271 ~ 43.17%
B 64 of 271 ~ 23.62%

%33.21
%43.17
%23.62

CMYK color model

#5A7540 color CMYK value is (23,0,45,54).

  • cyan value is 23.08%
  • magenta value is 0.00%
  • yellow value is 45.30%
  • key color value is 54.12%
CMYK: (23,0,45,54) C23M0Y45K54 (23%,0%,45%,54%) (0.23/0.00/0.45/0.54)

CMYK percentages

%23.08
%0
%45.3
%54.12

Codes

Color #5A7540 in popluar color models

5A7540
RGB9011764
HSL91°29.28%35.49%
HSB/HSV91°45.30%45.88%
CMYK23.08%0.00%45.30%
54.12%

Color #5A7540 in popluar number systems.

HEX5A7540
Decimal9011764
Binary101101011101011000000
Octal132165100

Shades and tints

Shades of #5A7540

#5A7540
(90,117,64)
#526B3B
(82,107,59)
#4A6136
(74,97,54)
#425731
(66,87,49)
#3A4D2C
(58,77,44)
#324327
(50,67,39)
#2A3922
(42,57,34)
#222F1D
(34,47,29)
#1A2518
(26,37,24)
#121B13
(18,27,19)
#0A110E
(10,17,14)
#000000
(0,0,0)

Tints of #5A7540

#5A7540
(90,117,64)
#698151
(105,129,81)
#788D62
(120,141,98)
#879973
(135,153,115)
#96A584
(150,165,132)
#A5B195
(165,177,149)
#B4BDA6
(180,189,166)
#C3C9B7
(195,201,183)
#D2D5C8
(210,213,200)
#E1E1D9
(225,225,217)
#F0EDEA
(240,237,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7540; }

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

This text font color is #5A7540.


Background Color

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

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

This div background color is #5A7540.


Border color

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

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

This div border color is #5A7540.


Opacity

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

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

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

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

This text has shadow with #5A7540 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #5A7540 on black background.


Color preview on white background

This text has color #5A7540 on white background.



Black color preview on #5A7540 background

This text has black color on #5A7540 background.


White color preview on #5A7540 background

This text has white color on #5A7540 background.