COLOR #5A7848

HEX: #5A7848 RGB: (90,120,72)

Color info

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

RGB color model

#5A7848 color RGB value is (90,120,72).

RGB: (90,120,72) (35%, 47%, 28%)

RGB channels and saturation

R 90 of 255 = 35%
G 120 of 255 = 47%
B 72 of 255 = 28%

90
120
72

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

Portions of RGB colors in percentages

R + G + B = 90 + 120 + 72 = 282 (100%)
R 90 of 282 ~ 31.91%
G 120 of 282 ~ 42.55%
B 72 of 282 ~ 25.53'%

%31.91
%42.55
%25.53

CMYK color model

#5A7848 color CMYK value is (25,0,40,53).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 40.00%
  • key color value is 52.94%
CMYK: (25,0,40,53) C25M0Y40K53 (25%,0%,40%,53%) (0.25/0.00/0.40/0.53) 

CMYK percentages

%25
%0
%40
%52.94

Codes

Color #5A7848 in popluar color models

5A 78 48
RGB 90 120 72
HSL 98° 25.00% 37.65%
HSB/HSV 98° 40.00% 47.06%
CMYK 25.00% 0.00% 40.00%
52.94%

Color #5A7848 in popluar number systems.

HEX 5A 78 48
Decimal 90 120 72
Binary 1011010 1111000 1001000
Octal 132 170 110

Shades and tints

Shades of #5A7848

#5A7848
(90,120,72)
#526E42
(82,110,66)
#4A643C
(74,100,60)
#425A36
(66,90,54)
#3A5030
(58,80,48)
#32462A
(50,70,42)
#2A3C24
(42,60,36)
#22321E
(34,50,30)
#1A2818
(26,40,24)
#121E12
(18,30,18)
#0A140C
(10,20,12)
#000000
(0,0,0)

Tints of #5A7848

#5A7848
(90,120,72)
#698458
(105,132,88)
#789068
(120,144,104)
#879C78
(135,156,120)
#96A888
(150,168,136)
#A5B498
(165,180,152)
#B4C0A8
(180,192,168)
#C3CCB8
(195,204,184)
#D2D8C8
(210,216,200)
#E1E4D8
(225,228,216)
#F0F0E8
(240,240,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7848; }

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

This text font color is #5A7848.

Background Color

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

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

This div background color is #5A7848.

Border color

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

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

This div border color is #5A7848.

Opacity

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

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

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

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

This text has shadow with #5A7848 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7848.

Preview

Color preview on black background

This text has color #5A7848 on black background.


Color preview on white background

This text has color #5A7848 on white background.


Black color preview on #5A7848 background

This text has black color on #5A7848 background.


White color preview on #5A7848 background

This text has white color on #5A7848 background.


Related colors

Complementary color

Complementary color for #hex is #A587B7.


I love getcolorcode.com

Triadic colors

1 #485A78 and #78485A with #5A7848 are triadic colors.

2 #48785A and #785A48 with #5A7848 are triadic colors.