COLOR #2A5E4A

HEX: #2A5E4A
RGB: (42,94,74)

Color info

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

RGB color model

#2A5E4A color RGB value is (42,94,74).

  • red value is 42;
  • green value is 94;
  • blue value is 74.
RGB:
(42,94,74)
(16%,37%,29%)

RGB channels and saturation

R 42 of 255 = 16%
G 94 of 255 = 37%
B 74 of 255 = 29%

42
94
74

R + G + B ~ 27%. #2A5E4A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 94 + 74 = 210 (100%)
R 42 of 210 ~ 20%
G 94 of 210 ~ 44.76%
B 74 of 210 ~ 35.24%

%20
%44.76
%35.24

CMYK color model

#2A5E4A color CMYK value is (55,0,21,63).

  • cyan value is 55.32%
  • magenta value is 0.00%
  • yellow value is 21.28%
  • key color value is 63.14%
CMYK:
(55,0,21,63)
C55M0Y21K63 
(55%,0%,21%,63%)
(0.55/0.00/0.21/0.63)	

CMYK percentages

%55.32
%0
%21.28
%63.14

Codes

Color #2A5E4A in popluar color models

2A5E4A
RGB429474
HSL157°38.24%26.67%
HSB/HSV157°55.32%36.86%
CMYK55.32%0.00%21.28%
63.14%

Color #2A5E4A in popluar number systems.

HEX2A5E4A
Decimal429474
Binary10101010111101001010
Octal52136112

Shades and tints

Shades of #2A5E4A

#2A5E4A
(42,94,74)
#275644
(39,86,68)
#244E3E
(36,78,62)
#214638
(33,70,56)
#1E3E32
(30,62,50)
#1B362C
(27,54,44)
#182E26
(24,46,38)
#152620
(21,38,32)
#121E1A
(18,30,26)
#0F1614
(15,22,20)
#0C0E0E
(12,14,14)
#000000
(0,0,0)

Tints of #2A5E4A

#2A5E4A
(42,94,74)
#3D6C5A
(61,108,90)
#507A6A
(80,122,106)
#63887A
(99,136,122)
#76968A
(118,150,138)
#89A49A
(137,164,154)
#9CB2AA
(156,178,170)
#AFC0BA
(175,192,186)
#C2CECA
(194,206,202)
#D5DCDA
(213,220,218)
#E8EAEA
(232,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5E4A color. Also use rgb(42,94,74) instead hex code.

Text Font Color

.myTextColor { color: #2A5E4A; }

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

This text font color is #2A5E4A.


Background Color

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

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

This div background color is #2A5E4A.


Border color

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

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

This div border color is #2A5E4A.


Opacity

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

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

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

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

This text has shadow with #2A5E4A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5E4A on black background.


Color preview on white background

This text has color #2A5E4A on white background.



Black color preview on #2A5E4A background

This text has black color on #2A5E4A background.


White color preview on #2A5E4A background

This text has white color on #2A5E4A background.