COLOR #5A8751

HEX: #5A8751 RGB: (90,135,81)

Color info

#5A8751 contains red, green and blue colors in about the same proportion. Web safe color of #5A8751 is #669966 (or #696).

RGB color model

#5A8751 color RGB value is (90,135,81).

RGB: (90,135,81) (35%, 53%, 32%)

RGB channels and saturation

R 90 of 255 = 35%
G 135 of 255 = 53%
B 81 of 255 = 32%

90
135
81

R + G + B ~ 40%. #5A8751 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 90 + 135 + 81 = 306 (100%)
R 90 of 306 ~ 29.41%
G 135 of 306 ~ 44.12%
B 81 of 306 ~ 26.47'%

%29.41
%44.12
%26.47

CMYK color model

#5A8751 color CMYK value is (33,0,40,47).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 40.00%
  • key color value is 47.06%

CMYK: (33,0,40,47)
C33M0Y40K47 (33%, 0%, 40%, 47%)
(0.33 / 0.00 / 0.40 / 0.47)

CMYK percentages

%33.33
%0
%40
%47.06

Codes

Color #5A8751 in popluar color models

5A 87 51
RGB 90 135 81
HSL 110° 25.00% 42.35%
HSB/HSV 110° 40.00% 52.94%
CMYK 33.33% 0.00% 40.00%
47.06%

Color #5A8751 in popluar number systems.

HEX 5A 87 51
Decimal 90 135 81
Binary 1011010 10000111 1010001
Octal 132 207 121

Shades and tints

Shades of #5A8751

#5A8751
(90,135,81)
#527B4A
(82,123,74)
#4A6F43
(74,111,67)
#42633C
(66,99,60)
#3A5735
(58,87,53)
#324B2E
(50,75,46)
#2A3F27
(42,63,39)
#223320
(34,51,32)
#1A2719
(26,39,25)
#121B12
(18,27,18)
#0A0F0B
(10,15,11)
#000000
(0,0,0)

Tints of #5A8751

#5A8751
(90,135,81)
#699160
(105,145,96)
#789B6F
(120,155,111)
#87A57E
(135,165,126)
#96AF8D
(150,175,141)
#A5B99C
(165,185,156)
#B4C3AB
(180,195,171)
#C3CDBA
(195,205,186)
#D2D7C9
(210,215,201)
#E1E1D8
(225,225,216)
#F0EBE7
(240,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A8751; }

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

This text font color is #5A8751.

Background Color

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

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

This div background color is #5A8751.

Border color

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

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

This div border color is #5A8751.

Opacity

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

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

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

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

This text has shadow with #5A8751 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A8751.

Preview

Color preview on black background

This text has color #5A8751 on black background.


Color preview on white background

This text has color #5A8751 on white background.


Black color preview on #5A8751 background

This text has black color on #5A8751 background.


White color preview on #5A8751 background

This text has white color on #5A8751 background.


Related colors

Complementary color

Complementary color for #hex is #A578AE.


I love getcolorcode.com

Triadic colors

1 #515A87 and #87515A with #5A8751 are triadic colors.

2 #51875A and #875A51 with #5A8751 are triadic colors.