COLOR #2A5285

HEX: #2A5285
RGB: (42,82,133)

Color info

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

RGB color model

#2A5285 color RGB value is (42,82,133).

  • red value is 42;
  • green value is 82;
  • blue value is 133.
RGB:
(42,82,133)
(16%,32%,52%)

RGB channels and saturation

R 42 of 255 = 16%
G 82 of 255 = 32%
B 133 of 255 = 52%

42
82
133

R + G + B ~ 33%. #2A5285 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 82 + 133 = 257 (100%)
R 42 of 257 ~ 16.34%
G 82 of 257 ~ 31.91%
B 133 of 257 ~ 51.75%

%16.34
%31.91
%51.75

CMYK color model

#2A5285 color CMYK value is (68,38,0,48).

  • cyan value is 68.42%
  • magenta value is 38.35%
  • yellow value is 0.00%
  • key color value is 47.84%
CMYK:
(68,38,0,48)
C68M38Y0K48 
(68%,38%,0%,48%)
(0.68/0.38/0.00/0.48)	

CMYK percentages

%68.42
%38.35
%0
%47.84

Codes

Color #2A5285 in popluar color models

2A5285
RGB4282133
HSL214°52.00%34.31%
HSB/HSV214°68.42%52.16%
CMYK68.42%38.35%0.00%
47.84%

Color #2A5285 in popluar number systems.

HEX2A5285
Decimal4282133
Binary101010101001010000101
Octal52122205

Shades and tints

Shades of #2A5285

#2A5285
(42,82,133)
#274B79
(39,75,121)
#24446D
(36,68,109)
#213D61
(33,61,97)
#1E3655
(30,54,85)
#1B2F49
(27,47,73)
#18283D
(24,40,61)
#152131
(21,33,49)
#121A25
(18,26,37)
#0F1319
(15,19,25)
#0C0C0D
(12,12,13)
#000000
(0,0,0)

Tints of #2A5285

#2A5285
(42,82,133)
#3D6190
(61,97,144)
#50709B
(80,112,155)
#637FA6
(99,127,166)
#768EB1
(118,142,177)
#899DBC
(137,157,188)
#9CACC7
(156,172,199)
#AFBBD2
(175,187,210)
#C2CADD
(194,202,221)
#D5D9E8
(213,217,232)
#E8E8F3
(232,232,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5285 color. Also use rgb(42,82,133) instead hex code.

Text Font Color

.myTextColor { color: #2A5285; }

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

This text font color is #2A5285.


Background Color

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

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

This div background color is #2A5285.


Border color

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

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

This div border color is #2A5285.


Opacity

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

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

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

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

This text has shadow with #2A5285 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5285 on black background.


Color preview on white background

This text has color #2A5285 on white background.



Black color preview on #2A5285 background

This text has black color on #2A5285 background.


White color preview on #2A5285 background

This text has white color on #2A5285 background.