COLOR #2A5742

HEX: #2A5742 RGB: (42,87,66)

Color info

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

RGB color model

#2A5742 color RGB value is (42,87,66).

RGB: (42,87,66) (16%, 34%, 26%)

RGB channels and saturation

R 42 of 255 = 16%
G 87 of 255 = 34%
B 66 of 255 = 26%

42
87
66

R + G + B ~ 25%. #2A5742 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 87 + 66 = 195 (100%)
R 42 of 195 ~ 21.54%
G 87 of 195 ~ 44.62%
B 66 of 195 ~ 33.85'%

%21.54
%44.62
%33.85

CMYK color model

#2A5742 color CMYK value is (52,0,24,66).

  • cyan value is 51.72%
  • magenta value is 0.00%
  • yellow value is 24.14%
  • key color value is 65.88%

CMYK: (52,0,24,66)
C52M0Y24K66 (52%, 0%, 24%, 66%)
(0.52 / 0.00 / 0.24 / 0.66)

CMYK percentages

%51.72
%0
%24.14
%65.88

Codes

Color #2A5742 in popluar color models

2A 57 42
RGB 42 87 66
HSL 152° 34.88% 25.29%
HSB/HSV 152° 51.72% 34.12%
CMYK 51.72% 0.00% 24.14%
65.88%

Color #2A5742 in popluar number systems.

HEX 2A 57 42
Decimal 42 87 66
Binary 101010 1010111 1000010
Octal 52 127 102

Shades and tints

Shades of #2A5742

#2A5742
(42,87,66)
#27503C
(39,80,60)
#244936
(36,73,54)
#214230
(33,66,48)
#1E3B2A
(30,59,42)
#1B3424
(27,52,36)
#182D1E
(24,45,30)
#152618
(21,38,24)
#121F12
(18,31,18)
#0F180C
(15,24,12)
#0C1106
(12,17,6)
#000000
(0,0,0)

Tints of #2A5742

#2A5742
(42,87,66)
#3D6653
(61,102,83)
#507564
(80,117,100)
#638475
(99,132,117)
#769386
(118,147,134)
#89A297
(137,162,151)
#9CB1A8
(156,177,168)
#AFC0B9
(175,192,185)
#C2CFCA
(194,207,202)
#D5DEDB
(213,222,219)
#E8EDEC
(232,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5742 color. Also use rgb(42,87,66) instead hex code.

Text Font Color

.myTextColor { color: #2A5742; }

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

This text font color is #2A5742.

Background Color

.myBgColor { background-color: #2A5742; }

<div style="background-color:#2A5742">Inner text</div>

This div background color is #2A5742.

Border color

.myBorderColor { border: 1px solid #2A5742; }

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

This div border color is #2A5742.

Opacity

.myOpacity80 { color: #2A5742; opacity: 0.8; }

<p style="color:#2A5742;opacity:0.8;">80%</p>

Text with #2A5742 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 #2A5742;}

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

This text has shadow with #2A5742 color.


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

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

This text has shadow with #2A5742 primary color and red secondary color.


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

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

This text has shadow with #2A5742 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #2A5742.

Preview

Color preview on black background

This text has color #2A5742 on black background.


Color preview on white background

This text has color #2A5742 on white background.


Black color preview on #2A5742 background

This text has black color on #2A5742 background.


White color preview on #2A5742 background

This text has white color on #2A5742 background.


Related colors

Complementary color

Complementary color for #hex is #D5A8BD.


I love getcolorcode.com

Triadic colors

1 #422A57 and #57422A with #2A5742 are triadic colors.

2 #42572A and #572A42 with #2A5742 are triadic colors.