COLOR #5A7F2B

HEX: #5A7F2B
RGB: (90,127,43)

Color info

#5A7F2B contains mainly red and green colors. Web safe color of #5A7F2B is #666633 (or #663).

RGB color model

#5A7F2B color RGB value is (90,127,43).

  • red value is 90;
  • green value is 127;
  • blue value is 43.
RGB:
(90,127,43)
(35%,50%,17%)

RGB channels and saturation

R 90 of 255 = 35%
G 127 of 255 = 50%
B 43 of 255 = 17%

90
127
43

R + G + B ~ 34%. #5A7F2B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 127 + 43 = 260 (100%)
R 90 of 260 ~ 34.62%
G 127 of 260 ~ 48.85%
B 43 of 260 ~ 16.54%

%34.62
%48.85
%16.54

CMYK color model

#5A7F2B color CMYK value is (29,0,66,50).

  • cyan value is 29.13%
  • magenta value is 0.00%
  • yellow value is 66.14%
  • key color value is 50.20%
CMYK:
(29,0,66,50)
C29M0Y66K50 
(29%,0%,66%,50%)
(0.29/0.00/0.66/0.50)	

CMYK percentages

%29.13
%0
%66.14
%50.2

Codes

Color #5A7F2B in popluar color models

5A7F2B
RGB9012743
HSL86°49.41%33.33%
HSB/HSV86°66.14%49.80%
CMYK29.13%0.00%66.14%
50.20%

Color #5A7F2B in popluar number systems.

HEX5A7F2B
Decimal9012743
Binary10110101111111101011
Octal13217753

Shades and tints

Shades of #5A7F2B

#5A7F2B
(90,127,43)
#527428
(82,116,40)
#4A6925
(74,105,37)
#425E22
(66,94,34)
#3A531F
(58,83,31)
#32481C
(50,72,28)
#2A3D19
(42,61,25)
#223216
(34,50,22)
#1A2713
(26,39,19)
#121C10
(18,28,16)
#0A110D
(10,17,13)
#000000
(0,0,0)

Tints of #5A7F2B

#5A7F2B
(90,127,43)
#698A3E
(105,138,62)
#789551
(120,149,81)
#87A064
(135,160,100)
#96AB77
(150,171,119)
#A5B68A
(165,182,138)
#B4C19D
(180,193,157)
#C3CCB0
(195,204,176)
#D2D7C3
(210,215,195)
#E1E2D6
(225,226,214)
#F0EDE9
(240,237,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7F2B; }

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

This text font color is #5A7F2B.


Background Color

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

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

This div background color is #5A7F2B.


Border color

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

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

This div border color is #5A7F2B.


Opacity

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

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

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

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

This text has shadow with #5A7F2B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7F2B on black background.


Color preview on white background

This text has color #5A7F2B on white background.



Black color preview on #5A7F2B background

This text has black color on #5A7F2B background.


White color preview on #5A7F2B background

This text has white color on #5A7F2B background.