COLOR #2D5B7F

HEX: #2D5B7F
RGB: (45,91,127)

Color info

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

RGB color model

#2D5B7F color RGB value is (45,91,127).

  • red value is 45;
  • green value is 91;
  • blue value is 127.
RGB:
(45,91,127)
(18%,36%,50%)

RGB channels and saturation

R 45 of 255 = 18%
G 91 of 255 = 36%
B 127 of 255 = 50%

45
91
127

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

Portions of RGB colors in percentages

R + G + B =
45 + 91 + 127 = 263 (100%)
R 45 of 263 ~ 17.11%
G 91 of 263 ~ 34.6%
B 127 of 263 ~ 48.29%

%17.11
%34.6
%48.29

CMYK color model

#2D5B7F color CMYK value is (65,28,0,50).

  • cyan value is 64.57%
  • magenta value is 28.35%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(65,28,0,50)
C65M28Y0K50 
(65%,28%,0%,50%)
(0.65/0.28/0.00/0.50)	

CMYK percentages

%64.57
%28.35
%0
%50.2

Codes

Color #2D5B7F in popluar color models

2D5B7F
RGB4591127
HSL206°47.67%33.73%
HSB/HSV206°64.57%49.80%
CMYK64.57%28.35%0.00%
50.20%

Color #2D5B7F in popluar number systems.

HEX2D5B7F
Decimal4591127
Binary10110110110111111111
Octal55133177

Shades and tints

Shades of #2D5B7F

#2D5B7F
(45,91,127)
#295374
(41,83,116)
#254B69
(37,75,105)
#21435E
(33,67,94)
#1D3B53
(29,59,83)
#193348
(25,51,72)
#152B3D
(21,43,61)
#112332
(17,35,50)
#0D1B27
(13,27,39)
#09131C
(9,19,28)
#050B11
(5,11,17)
#000000
(0,0,0)

Tints of #2D5B7F

#2D5B7F
(45,91,127)
#40698A
(64,105,138)
#537795
(83,119,149)
#6685A0
(102,133,160)
#7993AB
(121,147,171)
#8CA1B6
(140,161,182)
#9FAFC1
(159,175,193)
#B2BDCC
(178,189,204)
#C5CBD7
(197,203,215)
#D8D9E2
(216,217,226)
#EBE7ED
(235,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D5B7F color. Also use rgb(45,91,127) instead hex code.

Text Font Color

.myTextColor { color: #2D5B7F; }

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

This text font color is #2D5B7F.


Background Color

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

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

This div background color is #2D5B7F.


Border color

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

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

This div border color is #2D5B7F.


Opacity

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

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

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

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

This text has shadow with #2D5B7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D5B7F on black background.


Color preview on white background

This text has color #2D5B7F on white background.



Black color preview on #2D5B7F background

This text has black color on #2D5B7F background.


White color preview on #2D5B7F background

This text has white color on #2D5B7F background.