COLOR #5A874B

HEX: #5A874B
RGB: (90,135,75)

Color info

#5A874B contains mainly red and green colors. Web safe color of #5A874B is #669933 (or #693).

RGB color model

#5A874B color RGB value is (90,135,75).

  • red value is 90;
  • green value is 135;
  • blue value is 75.
RGB:
(90,135,75)
(35%,53%,29%)

RGB channels and saturation

R 90 of 255 = 35%
G 135 of 255 = 53%
B 75 of 255 = 29%

90
135
75

R + G + B ~ 39%. #5A874B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 135 + 75 = 300 (100%)
R 90 of 300 ~ 30%
G 135 of 300 ~ 45%
B 75 of 300 ~ 25%

%30
%45
%25

CMYK color model

#5A874B color CMYK value is (33,0,44,47).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 44.44%
  • key color value is 47.06%
CMYK:
(33,0,44,47)
C33M0Y44K47 
(33%,0%,44%,47%)
(0.33/0.00/0.44/0.47)	

CMYK percentages

%33.33
%0
%44.44
%47.06

Codes

Color #5A874B in popluar color models

5A874B
RGB9013575
HSL105°28.57%41.18%
HSB/HSV105°44.44%52.94%
CMYK33.33%0.00%44.44%
47.06%

Color #5A874B in popluar number systems.

HEX5A874B
Decimal9013575
Binary1011010100001111001011
Octal132207113

Shades and tints

Shades of #5A874B

#5A874B
(90,135,75)
#527B45
(82,123,69)
#4A6F3F
(74,111,63)
#426339
(66,99,57)
#3A5733
(58,87,51)
#324B2D
(50,75,45)
#2A3F27
(42,63,39)
#223321
(34,51,33)
#1A271B
(26,39,27)
#121B15
(18,27,21)
#0A0F0F
(10,15,15)
#000000
(0,0,0)

Tints of #5A874B

#5A874B
(90,135,75)
#69915B
(105,145,91)
#789B6B
(120,155,107)
#87A57B
(135,165,123)
#96AF8B
(150,175,139)
#A5B99B
(165,185,155)
#B4C3AB
(180,195,171)
#C3CDBB
(195,205,187)
#D2D7CB
(210,215,203)
#E1E1DB
(225,225,219)
#F0EBEB
(240,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A874B; }

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

This text font color is #5A874B.


Background Color

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

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

This div background color is #5A874B.


Border color

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

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

This div border color is #5A874B.


Opacity

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

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

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

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

This text has shadow with #5A874B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A874B on black background.


Color preview on white background

This text has color #5A874B on white background.



Black color preview on #5A874B background

This text has black color on #5A874B background.


White color preview on #5A874B background

This text has white color on #5A874B background.