COLOR #2A4976

HEX: #2A4976
RGB: (42,73,118)

Color info

#2A4976 contains mainly green and blue colors. Web safe color of #2A4976 is #333366 (or #336).

RGB color model

#2A4976 color RGB value is (42,73,118).

  • red value is 42;
  • green value is 73;
  • blue value is 118.
RGB:
(42,73,118)
(16%,29%,46%)

RGB channels and saturation

R 42 of 255 = 16%
G 73 of 255 = 29%
B 118 of 255 = 46%

42
73
118

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

Portions of RGB colors in percentages

R + G + B =
42 + 73 + 118 = 233 (100%)
R 42 of 233 ~ 18.03%
G 73 of 233 ~ 31.33%
B 118 of 233 ~ 50.64%

%18.03
%31.33
%50.64

CMYK color model

#2A4976 color CMYK value is (64,38,0,54).

  • cyan value is 64.41%
  • magenta value is 38.14%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(64,38,0,54)
C64M38Y0K54 
(64%,38%,0%,54%)
(0.64/0.38/0.00/0.54)	

CMYK percentages

%64.41
%38.14
%0
%53.73

Codes

Color #2A4976 in popluar color models

2A4976
RGB4273118
HSL216°47.50%31.37%
HSB/HSV216°64.41%46.27%
CMYK64.41%38.14%0.00%
53.73%

Color #2A4976 in popluar number systems.

HEX2A4976
Decimal4273118
Binary10101010010011110110
Octal52111166

Shades and tints

Shades of #2A4976

#2A4976
(42,73,118)
#27436C
(39,67,108)
#243D62
(36,61,98)
#213758
(33,55,88)
#1E314E
(30,49,78)
#1B2B44
(27,43,68)
#18253A
(24,37,58)
#151F30
(21,31,48)
#121926
(18,25,38)
#0F131C
(15,19,28)
#0C0D12
(12,13,18)
#000000
(0,0,0)

Tints of #2A4976

#2A4976
(42,73,118)
#3D5982
(61,89,130)
#50698E
(80,105,142)
#63799A
(99,121,154)
#7689A6
(118,137,166)
#8999B2
(137,153,178)
#9CA9BE
(156,169,190)
#AFB9CA
(175,185,202)
#C2C9D6
(194,201,214)
#D5D9E2
(213,217,226)
#E8E9EE
(232,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4976 color. Also use rgb(42,73,118) instead hex code.

Text Font Color

.myTextColor { color: #2A4976; }

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

This text font color is #2A4976.


Background Color

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

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

This div background color is #2A4976.


Border color

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

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

This div border color is #2A4976.


Opacity

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

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

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

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

This text has shadow with #2A4976 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4976 on black background.


Color preview on white background

This text has color #2A4976 on white background.



Black color preview on #2A4976 background

This text has black color on #2A4976 background.


White color preview on #2A4976 background

This text has white color on #2A4976 background.