COLOR #2D5C8E

HEX: #2D5C8E
RGB: (45,92,142)

Color info

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

RGB color model

#2D5C8E color RGB value is (45,92,142).

  • red value is 45;
  • green value is 92;
  • blue value is 142.
RGB:
(45,92,142)
(18%,36%,56%)

RGB channels and saturation

R 45 of 255 = 18%
G 92 of 255 = 36%
B 142 of 255 = 56%

45
92
142

R + G + B ~ 37%. #2D5C8E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
45 + 92 + 142 = 279 (100%)
R 45 of 279 ~ 16.13%
G 92 of 279 ~ 32.97%
B 142 of 279 ~ 50.9%

%16.13
%32.97
%50.9

CMYK color model

#2D5C8E color CMYK value is (68,35,0,44).

  • cyan value is 68.31%
  • magenta value is 35.21%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(68,35,0,44)
C68M35Y0K44 
(68%,35%,0%,44%)
(0.68/0.35/0.00/0.44)	

CMYK percentages

%68.31
%35.21
%0
%44.31

Codes

Color #2D5C8E in popluar color models

2D5C8E
RGB4592142
HSL211°51.87%36.67%
HSB/HSV211°68.31%55.69%
CMYK68.31%35.21%0.00%
44.31%

Color #2D5C8E in popluar number systems.

HEX2D5C8E
Decimal4592142
Binary101101101110010001110
Octal55134216

Shades and tints

Shades of #2D5C8E

#2D5C8E
(45,92,142)
#295482
(41,84,130)
#254C76
(37,76,118)
#21446A
(33,68,106)
#1D3C5E
(29,60,94)
#193452
(25,52,82)
#152C46
(21,44,70)
#11243A
(17,36,58)
#0D1C2E
(13,28,46)
#091422
(9,20,34)
#050C16
(5,12,22)
#000000
(0,0,0)

Tints of #2D5C8E

#2D5C8E
(45,92,142)
#406A98
(64,106,152)
#5378A2
(83,120,162)
#6686AC
(102,134,172)
#7994B6
(121,148,182)
#8CA2C0
(140,162,192)
#9FB0CA
(159,176,202)
#B2BED4
(178,190,212)
#C5CCDE
(197,204,222)
#D8DAE8
(216,218,232)
#EBE8F2
(235,232,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D5C8E color. Also use rgb(45,92,142) instead hex code.

Text Font Color

.myTextColor { color: #2D5C8E; }

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

This text font color is #2D5C8E.


Background Color

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

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

This div background color is #2D5C8E.


Border color

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

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

This div border color is #2D5C8E.


Opacity

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

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

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

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

This text has shadow with #2D5C8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D5C8E on black background.


Color preview on white background

This text has color #2D5C8E on white background.



Black color preview on #2D5C8E background

This text has black color on #2D5C8E background.


White color preview on #2D5C8E background

This text has white color on #2D5C8E background.