COLOR #2A507B

HEX: #2A507B
RGB: (42,80,123)

Color info

#2A507B contains mainly green and blue colors. Web safe color of #2A507B is #336666 (or #366).

RGB color model

#2A507B color RGB value is (42,80,123).

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

RGB channels and saturation

R 42 of 255 = 16%
G 80 of 255 = 31%
B 123 of 255 = 48%

42
80
123

R + G + B ~ 32%. #2A507B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 80 + 123 = 245 (100%)
R 42 of 245 ~ 17.14%
G 80 of 245 ~ 32.65%
B 123 of 245 ~ 50.2%

%17.14
%32.65
%50.2

CMYK color model

#2A507B color CMYK value is (66,35,0,52).

  • cyan value is 65.85%
  • magenta value is 34.96%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(66,35,0,52)
C66M35Y0K52 
(66%,35%,0%,52%)
(0.66/0.35/0.00/0.52)	

CMYK percentages

%65.85
%34.96
%0
%51.76

Codes

Color #2A507B in popluar color models

2A507B
RGB4280123
HSL212°49.09%32.35%
HSB/HSV212°65.85%48.24%
CMYK65.85%34.96%0.00%
51.76%

Color #2A507B in popluar number systems.

HEX2A507B
Decimal4280123
Binary10101010100001111011
Octal52120173

Shades and tints

Shades of #2A507B

#2A507B
(42,80,123)
#274970
(39,73,112)
#244265
(36,66,101)
#213B5A
(33,59,90)
#1E344F
(30,52,79)
#1B2D44
(27,45,68)
#182639
(24,38,57)
#151F2E
(21,31,46)
#121823
(18,24,35)
#0F1118
(15,17,24)
#0C0A0D
(12,10,13)
#000000
(0,0,0)

Tints of #2A507B

#2A507B
(42,80,123)
#3D5F87
(61,95,135)
#506E93
(80,110,147)
#637D9F
(99,125,159)
#768CAB
(118,140,171)
#899BB7
(137,155,183)
#9CAAC3
(156,170,195)
#AFB9CF
(175,185,207)
#C2C8DB
(194,200,219)
#D5D7E7
(213,215,231)
#E8E6F3
(232,230,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A507B; }

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

This text font color is #2A507B.


Background Color

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

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

This div background color is #2A507B.


Border color

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

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

This div border color is #2A507B.


Opacity

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

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

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

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

This text has shadow with #2A507B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A507B on black background.


Color preview on white background

This text has color #2A507B on white background.



Black color preview on #2A507B background

This text has black color on #2A507B background.


White color preview on #2A507B background

This text has white color on #2A507B background.