COLOR #2A5F5B

HEX: #2A5F5B
RGB: (42,95,91)

Color info

#2A5F5B contains red, green and blue colors in about the same proportion. Web safe color of #2A5F5B is #336666 (or #366).

RGB color model

#2A5F5B color RGB value is (42,95,91).

  • red value is 42;
  • green value is 95;
  • blue value is 91.
RGB:
(42,95,91)
(16%,37%,36%)

RGB channels and saturation

R 42 of 255 = 16%
G 95 of 255 = 37%
B 91 of 255 = 36%

42
95
91

R + G + B ~ 30%. #2A5F5B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 95 + 91 = 228 (100%)
R 42 of 228 ~ 18.42%
G 95 of 228 ~ 41.67%
B 91 of 228 ~ 39.91%

%18.42
%41.67
%39.91

CMYK color model

#2A5F5B color CMYK value is (56,0,4,63).

  • cyan value is 55.79%
  • magenta value is 0.00%
  • yellow value is 4.21%
  • key color value is 62.75%
CMYK:
(56,0,4,63)
C56M0Y4K63 
(56%,0%,4%,63%)
(0.56/0.00/0.04/0.63)	

CMYK percentages

%55.79
%0
%4.21
%62.75

Codes

Color #2A5F5B in popluar color models

2A5F5B
RGB429591
HSL175°38.69%26.86%
HSB/HSV175°55.79%37.25%
CMYK55.79%0.00%4.21%
62.75%

Color #2A5F5B in popluar number systems.

HEX2A5F5B
Decimal429591
Binary10101010111111011011
Octal52137133

Shades and tints

Shades of #2A5F5B

#2A5F5B
(42,95,91)
#275753
(39,87,83)
#244F4B
(36,79,75)
#214743
(33,71,67)
#1E3F3B
(30,63,59)
#1B3733
(27,55,51)
#182F2B
(24,47,43)
#152723
(21,39,35)
#121F1B
(18,31,27)
#0F1713
(15,23,19)
#0C0F0B
(12,15,11)
#000000
(0,0,0)

Tints of #2A5F5B

#2A5F5B
(42,95,91)
#3D6D69
(61,109,105)
#507B77
(80,123,119)
#638985
(99,137,133)
#769793
(118,151,147)
#89A5A1
(137,165,161)
#9CB3AF
(156,179,175)
#AFC1BD
(175,193,189)
#C2CFCB
(194,207,203)
#D5DDD9
(213,221,217)
#E8EBE7
(232,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5F5B color. Also use rgb(42,95,91) instead hex code.

Text Font Color

.myTextColor { color: #2A5F5B; }

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

This text font color is #2A5F5B.


Background Color

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

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

This div background color is #2A5F5B.


Border color

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

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

This div border color is #2A5F5B.


Opacity

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

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

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

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

This text has shadow with #2A5F5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5F5B on black background.


Color preview on white background

This text has color #2A5F5B on white background.



Black color preview on #2A5F5B background

This text has black color on #2A5F5B background.


White color preview on #2A5F5B background

This text has white color on #2A5F5B background.