COLOR #5A7B66

HEX: #5A7B66 RGB: (90,123,102)

Color info

#5A7B66 contains red, green and blue colors in about the same proportion. Web safe color of #5A7B66 is #666666 (or #666).

RGB color model

#5A7B66 color RGB value is (90,123,102).

RGB: (90,123,102) (35%, 48%, 40%)

RGB channels and saturation

R 90 of 255 = 35%
G 123 of 255 = 48%
B 102 of 255 = 40%

90
123
102

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

Portions of RGB colors in percentages

R + G + B = 90 + 123 + 102 = 315 (100%)
R 90 of 315 ~ 28.57%
G 123 of 315 ~ 39.05%
B 102 of 315 ~ 32.38'%

%28.57
%39.05
%32.38

CMYK color model

#5A7B66 color CMYK value is (27,0,17,52).

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

CMYK: (27,0,17,52)
C27M0Y17K52 (27%, 0%, 17%, 52%)
(0.27 / 0.00 / 0.17 / 0.52)

CMYK percentages

%26.83
%0
%17.07
%51.76

Codes

Color #5A7B66 in popluar color models

5A 7B 66
RGB 90 123 102
HSL 142° 15.49% 41.76%
HSB/HSV 142° 26.83% 48.24%
CMYK 26.83% 0.00% 17.07%
51.76%

Color #5A7B66 in popluar number systems.

HEX 5A 7B 66
Decimal 90 123 102
Binary 1011010 1111011 1100110
Octal 132 173 146

Shades and tints

Shades of #5A7B66

#5A7B66
(90,123,102)
#52705D
(82,112,93)
#4A6554
(74,101,84)
#425A4B
(66,90,75)
#3A4F42
(58,79,66)
#324439
(50,68,57)
#2A3930
(42,57,48)
#222E27
(34,46,39)
#1A231E
(26,35,30)
#121815
(18,24,21)
#0A0D0C
(10,13,12)
#000000
(0,0,0)

Tints of #5A7B66

#5A7B66
(90,123,102)
#698773
(105,135,115)
#789380
(120,147,128)
#879F8D
(135,159,141)
#96AB9A
(150,171,154)
#A5B7A7
(165,183,167)
#B4C3B4
(180,195,180)
#C3CFC1
(195,207,193)
#D2DBCE
(210,219,206)
#E1E7DB
(225,231,219)
#F0F3E8
(240,243,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7B66; }

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

This text font color is #5A7B66.

Background Color

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

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

This div background color is #5A7B66.

Border color

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

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

This div border color is #5A7B66.

Opacity

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

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

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

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

This text has shadow with #5A7B66 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7B66.

Preview

Color preview on black background

This text has color #5A7B66 on black background.


Color preview on white background

This text has color #5A7B66 on white background.


Black color preview on #5A7B66 background

This text has black color on #5A7B66 background.


White color preview on #5A7B66 background

This text has white color on #5A7B66 background.


Related colors

Complementary color

Complementary color for #hex is #A58499.


I love getcolorcode.com

Triadic colors

1 #665A7B and #7B665A with #5A7B66 are triadic colors.

2 #667B5A and #7B5A66 with #5A7B66 are triadic colors.