COLOR #2A7A87

HEX: #2A7A87
RGB: (42,122,135)

Color info

#2A7A87 contains mainly green and blue colors. Web safe color of #2A7A87 is #336699 (or #369).

RGB color model

#2A7A87 color RGB value is (42,122,135).

  • red value is 42;
  • green value is 122;
  • blue value is 135.
RGB:
(42,122,135)
(16%,48%,53%)

RGB channels and saturation

R 42 of 255 = 16%
G 122 of 255 = 48%
B 135 of 255 = 53%

42
122
135

R + G + B ~ 39%. #2A7A87 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 122 + 135 = 299 (100%)
R 42 of 299 ~ 14.05%
G 122 of 299 ~ 40.8%
B 135 of 299 ~ 45.15%

%14.05
%40.8
%45.15

CMYK color model

#2A7A87 color CMYK value is (69,10,0,47).

  • cyan value is 68.89%
  • magenta value is 9.63%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(69,10,0,47)
C69M10Y0K47 
(69%,10%,0%,47%)
(0.69/0.10/0.00/0.47)	

CMYK percentages

%68.89
%9.63
%0
%47.06

Codes

Color #2A7A87 in popluar color models

2A7A87
RGB42122135
HSL188°52.54%34.71%
HSB/HSV188°68.89%52.94%
CMYK68.89%9.63%0.00%
47.06%

Color #2A7A87 in popluar number systems.

HEX2A7A87
Decimal42122135
Binary101010111101010000111
Octal52172207

Shades and tints

Shades of #2A7A87

#2A7A87
(42,122,135)
#276F7B
(39,111,123)
#24646F
(36,100,111)
#215963
(33,89,99)
#1E4E57
(30,78,87)
#1B434B
(27,67,75)
#18383F
(24,56,63)
#152D33
(21,45,51)
#122227
(18,34,39)
#0F171B
(15,23,27)
#0C0C0F
(12,12,15)
#000000
(0,0,0)

Tints of #2A7A87

#2A7A87
(42,122,135)
#3D8691
(61,134,145)
#50929B
(80,146,155)
#639EA5
(99,158,165)
#76AAAF
(118,170,175)
#89B6B9
(137,182,185)
#9CC2C3
(156,194,195)
#AFCECD
(175,206,205)
#C2DAD7
(194,218,215)
#D5E6E1
(213,230,225)
#E8F2EB
(232,242,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A7A87 color. Also use rgb(42,122,135) instead hex code.

Text Font Color

.myTextColor { color: #2A7A87; }

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

This text font color is #2A7A87.


Background Color

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

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

This div background color is #2A7A87.


Border color

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

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

This div border color is #2A7A87.


Opacity

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

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

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

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

This text has shadow with #2A7A87 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A7A87 on black background.


Color preview on white background

This text has color #2A7A87 on white background.



Black color preview on #2A7A87 background

This text has black color on #2A7A87 background.


White color preview on #2A7A87 background

This text has white color on #2A7A87 background.