COLOR #2A5054

HEX: #2A5054
RGB: (42,80,84)

Color info

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

RGB color model

#2A5054 color RGB value is (42,80,84).

  • red value is 42;
  • green value is 80;
  • blue value is 84.
RGB:
(42,80,84)
(16%,31%,33%)

RGB channels and saturation

R 42 of 255 = 16%
G 80 of 255 = 31%
B 84 of 255 = 33%

42
80
84

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

Portions of RGB colors in percentages

R + G + B =
42 + 80 + 84 = 206 (100%)
R 42 of 206 ~ 20.39%
G 80 of 206 ~ 38.83%
B 84 of 206 ~ 40.78%

%20.39
%38.83
%40.78

CMYK color model

#2A5054 color CMYK value is (50,5,0,67).

  • cyan value is 50.00%
  • magenta value is 4.76%
  • yellow value is 0.00%
  • key color value is 67.06%
CMYK:
(50,5,0,67)
C50M5Y0K67 
(50%,5%,0%,67%)
(0.50/0.05/0.00/0.67)	

CMYK percentages

%50
%4.76
%0
%67.06

Codes

Color #2A5054 in popluar color models

2A5054
RGB428084
HSL186°33.33%24.71%
HSB/HSV186°50.00%32.94%
CMYK50.00%4.76%0.00%
67.06%

Color #2A5054 in popluar number systems.

HEX2A5054
Decimal428084
Binary10101010100001010100
Octal52120124

Shades and tints

Shades of #2A5054

#2A5054
(42,80,84)
#27494D
(39,73,77)
#244246
(36,66,70)
#213B3F
(33,59,63)
#1E3438
(30,52,56)
#1B2D31
(27,45,49)
#18262A
(24,38,42)
#151F23
(21,31,35)
#12181C
(18,24,28)
#0F1115
(15,17,21)
#0C0A0E
(12,10,14)
#000000
(0,0,0)

Tints of #2A5054

#2A5054
(42,80,84)
#3D5F63
(61,95,99)
#506E72
(80,110,114)
#637D81
(99,125,129)
#768C90
(118,140,144)
#899B9F
(137,155,159)
#9CAAAE
(156,170,174)
#AFB9BD
(175,185,189)
#C2C8CC
(194,200,204)
#D5D7DB
(213,215,219)
#E8E6EA
(232,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5054 color. Also use rgb(42,80,84) instead hex code.

Text Font Color

.myTextColor { color: #2A5054; }

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

This text font color is #2A5054.


Background Color

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

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

This div background color is #2A5054.


Border color

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

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

This div border color is #2A5054.


Opacity

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

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

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

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

This text has shadow with #2A5054 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5054 on black background.


Color preview on white background

This text has color #2A5054 on white background.



Black color preview on #2A5054 background

This text has black color on #2A5054 background.


White color preview on #2A5054 background

This text has white color on #2A5054 background.