COLOR #2A5D7D

HEX: #2A5D7D
RGB: (42,93,125)

Color info

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

RGB color model

#2A5D7D color RGB value is (42,93,125).

  • red value is 42;
  • green value is 93;
  • blue value is 125.
RGB:
(42,93,125)
(16%,36%,49%)

RGB channels and saturation

R 42 of 255 = 16%
G 93 of 255 = 36%
B 125 of 255 = 49%

42
93
125

R + G + B ~ 34%. #2A5D7D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 93 + 125 = 260 (100%)
R 42 of 260 ~ 16.15%
G 93 of 260 ~ 35.77%
B 125 of 260 ~ 48.08%

%16.15
%35.77
%48.08

CMYK color model

#2A5D7D color CMYK value is (66,26,0,51).

  • cyan value is 66.40%
  • magenta value is 25.60%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(66,26,0,51)
C66M26Y0K51 
(66%,26%,0%,51%)
(0.66/0.26/0.00/0.51)	

CMYK percentages

%66.4
%25.6
%0
%50.98

Codes

Color #2A5D7D in popluar color models

2A5D7D
RGB4293125
HSL203°49.70%32.75%
HSB/HSV203°66.40%49.02%
CMYK66.40%25.60%0.00%
50.98%

Color #2A5D7D in popluar number systems.

HEX2A5D7D
Decimal4293125
Binary10101010111011111101
Octal52135175

Shades and tints

Shades of #2A5D7D

#2A5D7D
(42,93,125)
#275572
(39,85,114)
#244D67
(36,77,103)
#21455C
(33,69,92)
#1E3D51
(30,61,81)
#1B3546
(27,53,70)
#182D3B
(24,45,59)
#152530
(21,37,48)
#121D25
(18,29,37)
#0F151A
(15,21,26)
#0C0D0F
(12,13,15)
#000000
(0,0,0)

Tints of #2A5D7D

#2A5D7D
(42,93,125)
#3D6B88
(61,107,136)
#507993
(80,121,147)
#63879E
(99,135,158)
#7695A9
(118,149,169)
#89A3B4
(137,163,180)
#9CB1BF
(156,177,191)
#AFBFCA
(175,191,202)
#C2CDD5
(194,205,213)
#D5DBE0
(213,219,224)
#E8E9EB
(232,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5D7D color. Also use rgb(42,93,125) instead hex code.

Text Font Color

.myTextColor { color: #2A5D7D; }

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

This text font color is #2A5D7D.


Background Color

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

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

This div background color is #2A5D7D.


Border color

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

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

This div border color is #2A5D7D.


Opacity

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

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

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

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

This text has shadow with #2A5D7D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5D7D on black background.


Color preview on white background

This text has color #2A5D7D on white background.



Black color preview on #2A5D7D background

This text has black color on #2A5D7D background.


White color preview on #2A5D7D background

This text has white color on #2A5D7D background.