COLOR #4F5A42

HEX: #4F5A42
RGB: (79,90,66)

Color info

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

RGB color model

#4F5A42 color RGB value is (79,90,66).

  • red value is 79;
  • green value is 90;
  • blue value is 66.
RGB:
(79,90,66)
(31%,35%,26%)

RGB channels and saturation

R 79 of 255 = 31%
G 90 of 255 = 35%
B 66 of 255 = 26%

79
90
66

R + G + B ~ 31%. #4F5A42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
79 + 90 + 66 = 235 (100%)
R 79 of 235 ~ 33.62%
G 90 of 235 ~ 38.3%
B 66 of 235 ~ 28.09%

%33.62
%38.3
%28.09

CMYK color model

#4F5A42 color CMYK value is (12,0,27,65).

  • cyan value is 12.22%
  • magenta value is 0.00%
  • yellow value is 26.67%
  • key color value is 64.71%
CMYK:
(12,0,27,65)
C12M0Y27K65 
(12%,0%,27%,65%)
(0.12/0.00/0.27/0.65)	

CMYK percentages

%12.22
%0
%26.67
%64.71

Codes

Color #4F5A42 in popluar color models

4F5A42
RGB799066
HSL88°15.38%30.59%
HSB/HSV88°26.67%35.29%
CMYK12.22%0.00%26.67%
64.71%

Color #4F5A42 in popluar number systems.

HEX4F5A42
Decimal799066
Binary100111110110101000010
Octal117132102

Shades and tints

Shades of #4F5A42

#4F5A42
(79,90,66)
#48523C
(72,82,60)
#414A36
(65,74,54)
#3A4230
(58,66,48)
#333A2A
(51,58,42)
#2C3224
(44,50,36)
#252A1E
(37,42,30)
#1E2218
(30,34,24)
#171A12
(23,26,18)
#10120C
(16,18,12)
#090A06
(9,10,6)
#000000
(0,0,0)

Tints of #4F5A42

#4F5A42
(79,90,66)
#5F6953
(95,105,83)
#6F7864
(111,120,100)
#7F8775
(127,135,117)
#8F9686
(143,150,134)
#9FA597
(159,165,151)
#AFB4A8
(175,180,168)
#BFC3B9
(191,195,185)
#CFD2CA
(207,210,202)
#DFE1DB
(223,225,219)
#EFF0EC
(239,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4F5A42 color. Also use rgb(79,90,66) instead hex code.

Text Font Color

.myTextColor { color: #4F5A42; }

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

This text font color is #4F5A42.


Background Color

.myBgColor { background-color: #4F5A42; }

<div style="background-color:#4F5A42">Inner text</div>

This div background color is #4F5A42.


Border color

.myBorderColor { border: 1px solid #4F5A42; }

<div style="border:3px solid #4F5A42">Div</div>

This div border color is #4F5A42.


Opacity

.myOpacity80 { color: #4F5A42; opacity: 0.8; }

<p style="color:#4F5A42;opacity:0.8;">80%</p>

Text with #4F5A42 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 #4F5A42;}

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

This text has shadow with #4F5A42 color.

.textShadow {text-shadow: 3px 3px 1px #4F5A42, 3px 3px 1px red;}

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

This text has shadow with #4F5A42 primary color and red secondary color.


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

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

This text has shadow with #4F5A42 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4F5A42 on black background.


Color preview on white background

This text has color #4F5A42 on white background.



Black color preview on #4F5A42 background

This text has black color on #4F5A42 background.


White color preview on #4F5A42 background

This text has white color on #4F5A42 background.