COLOR #2A558C

HEX: #2A558C
RGB: (42,85,140)

Color info

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

RGB color model

#2A558C color RGB value is (42,85,140).

  • red value is 42;
  • green value is 85;
  • blue value is 140.
RGB:
(42,85,140)
(16%,33%,55%)

RGB channels and saturation

R 42 of 255 = 16%
G 85 of 255 = 33%
B 140 of 255 = 55%

42
85
140

R + G + B ~ 35%. #2A558C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 85 + 140 = 267 (100%)
R 42 of 267 ~ 15.73%
G 85 of 267 ~ 31.84%
B 140 of 267 ~ 52.43%

%15.73
%31.84
%52.43

CMYK color model

#2A558C color CMYK value is (70,39,0,45).

  • cyan value is 70.00%
  • magenta value is 39.29%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(70,39,0,45)
C70M39Y0K45 
(70%,39%,0%,45%)
(0.70/0.39/0.00/0.45)	

CMYK percentages

%70
%39.29
%0
%45.1

Codes

Color #2A558C in popluar color models

2A558C
RGB4285140
HSL214°53.85%35.69%
HSB/HSV214°70.00%54.90%
CMYK70.00%39.29%0.00%
45.10%

Color #2A558C in popluar number systems.

HEX2A558C
Decimal4285140
Binary101010101010110001100
Octal52125214

Shades and tints

Shades of #2A558C

#2A558C
(42,85,140)
#274E80
(39,78,128)
#244774
(36,71,116)
#214068
(33,64,104)
#1E395C
(30,57,92)
#1B3250
(27,50,80)
#182B44
(24,43,68)
#152438
(21,36,56)
#121D2C
(18,29,44)
#0F1620
(15,22,32)
#0C0F14
(12,15,20)
#000000
(0,0,0)

Tints of #2A558C

#2A558C
(42,85,140)
#3D6496
(61,100,150)
#5073A0
(80,115,160)
#6382AA
(99,130,170)
#7691B4
(118,145,180)
#89A0BE
(137,160,190)
#9CAFC8
(156,175,200)
#AFBED2
(175,190,210)
#C2CDDC
(194,205,220)
#D5DCE6
(213,220,230)
#E8EBF0
(232,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A558C color. Also use rgb(42,85,140) instead hex code.

Text Font Color

.myTextColor { color: #2A558C; }

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

This text font color is #2A558C.


Background Color

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

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

This div background color is #2A558C.


Border color

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

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

This div border color is #2A558C.


Opacity

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

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

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

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

This text has shadow with #2A558C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A558C on black background.


Color preview on white background

This text has color #2A558C on white background.



Black color preview on #2A558C background

This text has black color on #2A558C background.


White color preview on #2A558C background

This text has white color on #2A558C background.