COLOR #5A7B46

HEX: #5A7B46 RGB: (90,123,70)

Color info

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

RGB color model

#5A7B46 color RGB value is (90,123,70).

RGB: (90,123,70) (35%, 48%, 27%)

RGB channels and saturation

R 90 of 255 = 35%
G 123 of 255 = 48%
B 70 of 255 = 27%

90
123
70

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

Portions of RGB colors in percentages

R + G + B = 90 + 123 + 70 = 283 (100%)
R 90 of 283 ~ 31.8%
G 123 of 283 ~ 43.46%
B 70 of 283 ~ 24.73'%

%31.8
%43.46
%24.73

CMYK color model

#5A7B46 color CMYK value is (27,0,43,52).

  • cyan value is 26.83%
  • magenta value is 0.00%
  • yellow value is 43.09%
  • key color value is 51.76%

CMYK: (27,0,43,52)
C27M0Y43K52 (27%, 0%, 43%, 52%)
(0.27 / 0.00 / 0.43 / 0.52)

CMYK percentages

%26.83
%0
%43.09
%51.76

Codes

Color #5A7B46 in popluar color models

5A 7B 46
RGB 90 123 70
HSL 97° 27.46% 37.84%
HSB/HSV 97° 43.09% 48.24%
CMYK 26.83% 0.00% 43.09%
51.76%

Color #5A7B46 in popluar number systems.

HEX 5A 7B 46
Decimal 90 123 70
Binary 1011010 1111011 1000110
Octal 132 173 106

Shades and tints

Shades of #5A7B46

#5A7B46
(90,123,70)
#527040
(82,112,64)
#4A653A
(74,101,58)
#425A34
(66,90,52)
#3A4F2E
(58,79,46)
#324428
(50,68,40)
#2A3922
(42,57,34)
#222E1C
(34,46,28)
#1A2316
(26,35,22)
#121810
(18,24,16)
#0A0D0A
(10,13,10)
#000000
(0,0,0)

Tints of #5A7B46

#5A7B46
(90,123,70)
#698756
(105,135,86)
#789366
(120,147,102)
#879F76
(135,159,118)
#96AB86
(150,171,134)
#A5B796
(165,183,150)
#B4C3A6
(180,195,166)
#C3CFB6
(195,207,182)
#D2DBC6
(210,219,198)
#E1E7D6
(225,231,214)
#F0F3E6
(240,243,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7B46 color. Also use rgb(90,123,70) instead hex code.

Text Font Color

.myTextColor { color: #5A7B46; }

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

This text font color is #5A7B46.

Background Color

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

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

This div background color is #5A7B46.

Border color

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

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

This div border color is #5A7B46.

Opacity

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

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

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

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

This text has shadow with #5A7B46 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7B46.

Preview

Color preview on black background

This text has color #5A7B46 on black background.


Color preview on white background

This text has color #5A7B46 on white background.


Black color preview on #5A7B46 background

This text has black color on #5A7B46 background.


White color preview on #5A7B46 background

This text has white color on #5A7B46 background.


Related colors

Complementary color

Complementary color for #hex is #A584B9.


I love getcolorcode.com

Triadic colors

1 #465A7B and #7B465A with #5A7B46 are triadic colors.

2 #467B5A and #7B5A46 with #5A7B46 are triadic colors.