COLOR #3A5A42

HEX: #3A5A42 RGB: (58,90,66)

Color info

#3A5A42 contains red, green and blue colors in about the same proportion. Web safe color of #3A5A42 is #336633 (or #363).

RGB color model

#3A5A42 color RGB value is (58,90,66).

RGB: (58,90,66) (23%, 35%, 26%)

RGB channels and saturation

R 58 of 255 = 23%
G 90 of 255 = 35%
B 66 of 255 = 26%

58
90
66

R + G + B ~ 28%. #3A5A42 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 58 + 90 + 66 = 214 (100%)
R 58 of 214 ~ 27.1%
G 90 of 214 ~ 42.06%
B 66 of 214 ~ 30.84'%

%27.1
%42.06
%30.84

CMYK color model

#3A5A42 color CMYK value is (36,0,27,65).

  • cyan value is 35.56%
  • magenta value is 0.00%
  • yellow value is 26.67%
  • key color value is 64.71%

CMYK: (36,0,27,65)
C36M0Y27K65 (36%, 0%, 27%, 65%)
(0.36 / 0.00 / 0.27 / 0.65)

CMYK percentages

%35.56
%0
%26.67
%64.71

Codes

Color #3A5A42 in popluar color models

3A 5A 42
RGB 58 90 66
HSL 135° 21.62% 29.02%
HSB/HSV 135° 35.56% 35.29%
CMYK 35.56% 0.00% 26.67%
64.71%

Color #3A5A42 in popluar number systems.

HEX 3A 5A 42
Decimal 58 90 66
Binary 111010 1011010 1000010
Octal 72 132 102

Shades and tints

Shades of #3A5A42

#3A5A42
(58,90,66)
#35523C
(53,82,60)
#304A36
(48,74,54)
#2B4230
(43,66,48)
#263A2A
(38,58,42)
#213224
(33,50,36)
#1C2A1E
(28,42,30)
#172218
(23,34,24)
#121A12
(18,26,18)
#0D120C
(13,18,12)
#080A06
(8,10,6)
#000000
(0,0,0)

Tints of #3A5A42

#3A5A42
(58,90,66)
#4B6953
(75,105,83)
#5C7864
(92,120,100)
#6D8775
(109,135,117)
#7E9686
(126,150,134)
#8FA597
(143,165,151)
#A0B4A8
(160,180,168)
#B1C3B9
(177,195,185)
#C2D2CA
(194,210,202)
#D3E1DB
(211,225,219)
#E4F0EC
(228,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3A5A42 color. Also use rgb(58,90,66) instead hex code.

Text Font Color

.myTextColor { color: #3A5A42; }

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

This text font color is #3A5A42.

Background Color

.myBgColor { background-color: #3A5A42; }

<div style="background-color:#3A5A42">Inner text</div>

This div background color is #3A5A42.

Border color

.myBorderColor { border: 1px solid #3A5A42; }

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

This div border color is #3A5A42.

Opacity

.myOpacity80 { color: #3A5A42; opacity: 0.8; }

<p style="color:#3A5A42;opacity:0.8;">80%</p>

Text with #3A5A42 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 #3A5A42;}

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

This text has shadow with #3A5A42 color.


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

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

This text has shadow with #3A5A42 primary color and red secondary color.


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

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

This text has shadow with #3A5A42 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #3A5A42.

Preview

Color preview on black background

This text has color #3A5A42 on black background.


Color preview on white background

This text has color #3A5A42 on white background.


Black color preview on #3A5A42 background

This text has black color on #3A5A42 background.


White color preview on #3A5A42 background

This text has white color on #3A5A42 background.


Related colors

Complementary color

Complementary color for #hex is #C5A5BD.


I love getcolorcode.com

Triadic colors

1 #423A5A and #5A423A with #3A5A42 are triadic colors.

2 #425A3A and #5A3A42 with #3A5A42 are triadic colors.