COLOR #3A5042

HEX: #3A5042
RGB: (58,80,66)

Color info

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

RGB color model

#3A5042 color RGB value is (58,80,66).

  • red value is 58;
  • green value is 80;
  • blue value is 66.
RGB:
(58,80,66)
(23%,31%,26%)

RGB channels and saturation

R 58 of 255 = 23%
G 80 of 255 = 31%
B 66 of 255 = 26%

58
80
66

R + G + B ~ 27%. #3A5042 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 80 + 66 = 204 (100%)
R 58 of 204 ~ 28.43%
G 80 of 204 ~ 39.22%
B 66 of 204 ~ 32.35%

%28.43
%39.22
%32.35

CMYK color model

#3A5042 color CMYK value is (28,0,18,69).

  • cyan value is 27.50%
  • magenta value is 0.00%
  • yellow value is 17.50%
  • key color value is 68.63%
CMYK:
(28,0,18,69)
C28M0Y18K69 
(28%,0%,18%,69%)
(0.28/0.00/0.18/0.69)	

CMYK percentages

%27.5
%0
%17.5
%68.63

Codes

Color #3A5042 in popluar color models

3A5042
RGB588066
HSL142°15.94%27.06%
HSB/HSV142°27.50%31.37%
CMYK27.50%0.00%17.50%
68.63%

Color #3A5042 in popluar number systems.

HEX3A5042
Decimal588066
Binary11101010100001000010
Octal72120102

Shades and tints

Shades of #3A5042

#3A5042
(58,80,66)
#35493C
(53,73,60)
#304236
(48,66,54)
#2B3B30
(43,59,48)
#26342A
(38,52,42)
#212D24
(33,45,36)
#1C261E
(28,38,30)
#171F18
(23,31,24)
#121812
(18,24,18)
#0D110C
(13,17,12)
#080A06
(8,10,6)
#000000
(0,0,0)

Tints of #3A5042

#3A5042
(58,80,66)
#4B5F53
(75,95,83)
#5C6E64
(92,110,100)
#6D7D75
(109,125,117)
#7E8C86
(126,140,134)
#8F9B97
(143,155,151)
#A0AAA8
(160,170,168)
#B1B9B9
(177,185,185)
#C2C8CA
(194,200,202)
#D3D7DB
(211,215,219)
#E4E6EC
(228,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #3A5042; }

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

This text font color is #3A5042.


Background Color

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

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

This div background color is #3A5042.


Border color

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

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

This div border color is #3A5042.


Opacity

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

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

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

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

This text has shadow with #3A5042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A5042 on black background.


Color preview on white background

This text has color #3A5042 on white background.



Black color preview on #3A5042 background

This text has black color on #3A5042 background.


White color preview on #3A5042 background

This text has white color on #3A5042 background.