COLOR #5A6F5A

HEX: #5A6F5A
RGB: (90,111,90)

Color info

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

RGB color model

#5A6F5A color RGB value is (90,111,90).

  • red value is 90;
  • green value is 111;
  • blue value is 90.
RGB:
(90,111,90)
(35%,44%,35%)

RGB channels and saturation

R 90 of 255 = 35%
G 111 of 255 = 44%
B 90 of 255 = 35%

90
111
90

R + G + B ~ 38%. #5A6F5A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 111 + 90 = 291 (100%)
R 90 of 291 ~ 30.93%
G 111 of 291 ~ 38.14%
B 90 of 291 ~ 30.93%

%30.93
%38.14
%30.93

CMYK color model

#5A6F5A color CMYK value is (19,0,19,56).

  • cyan value is 18.92%
  • magenta value is 0.00%
  • yellow value is 18.92%
  • key color value is 56.47%
CMYK:
(19,0,19,56)
C19M0Y19K56 
(19%,0%,19%,56%)
(0.19/0.00/0.19/0.56)	

CMYK percentages

%18.92
%0
%18.92
%56.47

Codes

Color #5A6F5A in popluar color models

5A6F5A
RGB9011190
HSL120°10.45%39.41%
HSB/HSV120°18.92%43.53%
CMYK18.92%0.00%18.92%
56.47%

Color #5A6F5A in popluar number systems.

HEX5A6F5A
Decimal9011190
Binary101101011011111011010
Octal132157132

Shades and tints

Shades of #5A6F5A

#5A6F5A
(90,111,90)
#526552
(82,101,82)
#4A5B4A
(74,91,74)
#425142
(66,81,66)
#3A473A
(58,71,58)
#323D32
(50,61,50)
#2A332A
(42,51,42)
#222922
(34,41,34)
#1A1F1A
(26,31,26)
#121512
(18,21,18)
#0A0B0A
(10,11,10)
#000000
(0,0,0)

Tints of #5A6F5A

#5A6F5A
(90,111,90)
#697C69
(105,124,105)
#788978
(120,137,120)
#879687
(135,150,135)
#96A396
(150,163,150)
#A5B0A5
(165,176,165)
#B4BDB4
(180,189,180)
#C3CAC3
(195,202,195)
#D2D7D2
(210,215,210)
#E1E4E1
(225,228,225)
#F0F1F0
(240,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6F5A; }

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

This text font color is #5A6F5A.


Background Color

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

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

This div background color is #5A6F5A.


Border color

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

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

This div border color is #5A6F5A.


Opacity

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

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

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

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

This text has shadow with #5A6F5A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6F5A on black background.


Color preview on white background

This text has color #5A6F5A on white background.



Black color preview on #5A6F5A background

This text has black color on #5A6F5A background.


White color preview on #5A6F5A background

This text has white color on #5A6F5A background.