COLOR #5A7D6C

HEX: #5A7D6C
RGB: (90,125,108)

Color info

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

RGB color model

#5A7D6C color RGB value is (90,125,108).

  • red value is 90;
  • green value is 125;
  • blue value is 108.
RGB:
(90,125,108)
(35%,49%,42%)

RGB channels and saturation

R 90 of 255 = 35%
G 125 of 255 = 49%
B 108 of 255 = 42%

90
125
108

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

Portions of RGB colors in percentages

R + G + B =
90 + 125 + 108 = 323 (100%)
R 90 of 323 ~ 27.86%
G 125 of 323 ~ 38.7%
B 108 of 323 ~ 33.44%

%27.86
%38.7
%33.44

CMYK color model

#5A7D6C color CMYK value is (28,0,14,51).

  • cyan value is 28.00%
  • magenta value is 0.00%
  • yellow value is 13.60%
  • key color value is 50.98%
CMYK:
(28,0,14,51)
C28M0Y14K51 
(28%,0%,14%,51%)
(0.28/0.00/0.14/0.51)	

CMYK percentages

%28
%0
%13.6
%50.98

Codes

Color #5A7D6C in popluar color models

5A7D6C
RGB90125108
HSL151°16.28%42.16%
HSB/HSV151°28.00%49.02%
CMYK28.00%0.00%13.60%
50.98%

Color #5A7D6C in popluar number systems.

HEX5A7D6C
Decimal90125108
Binary101101011111011101100
Octal132175154

Shades and tints

Shades of #5A7D6C

#5A7D6C
(90,125,108)
#527263
(82,114,99)
#4A675A
(74,103,90)
#425C51
(66,92,81)
#3A5148
(58,81,72)
#32463F
(50,70,63)
#2A3B36
(42,59,54)
#22302D
(34,48,45)
#1A2524
(26,37,36)
#121A1B
(18,26,27)
#0A0F12
(10,15,18)
#000000
(0,0,0)

Tints of #5A7D6C

#5A7D6C
(90,125,108)
#698879
(105,136,121)
#789386
(120,147,134)
#879E93
(135,158,147)
#96A9A0
(150,169,160)
#A5B4AD
(165,180,173)
#B4BFBA
(180,191,186)
#C3CAC7
(195,202,199)
#D2D5D4
(210,213,212)
#E1E0E1
(225,224,225)
#F0EBEE
(240,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7D6C color. Also use rgb(90,125,108) instead hex code.

Text Font Color

.myTextColor { color: #5A7D6C; }

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

This text font color is #5A7D6C.


Background Color

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

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

This div background color is #5A7D6C.


Border color

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

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

This div border color is #5A7D6C.


Opacity

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

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

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

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

This text has shadow with #5A7D6C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7D6C on black background.


Color preview on white background

This text has color #5A7D6C on white background.



Black color preview on #5A7D6C background

This text has black color on #5A7D6C background.


White color preview on #5A7D6C background

This text has white color on #5A7D6C background.